hi,
I have problem with configuration AIF WebService for AX 2009. When I call any methods from WS update, create, find I get below error:
"Cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender receiver's EndpointAddresses agree"
I call WS from external network. Is there problem in my configuration or in my code

AX_CT.ECCustTableService_ARTClient proxy = new AX_CT.ECCustTableService_ARTClient();
proxy.ClientCredentials.Windows.ClientCredential.Domain = "domain.local";
proxy.ClientCredentials.Windows.ClientCredential.UserName = "user";
proxy.ClientCredentials.Windows.ClientCredential.Password = "password";
AX_CT.AxdECCustTable_ART axdCustTable = new AX_CT.AxdECCustTable_ART();
AX_CT.AxdEntity_CustTable_1 custTable = new AX_CT.AxdEntity_CustTable_1();
custTable.Name = "Nowa nazwa firmy";
axdCustTable.CustTable_1 = new AX_CT.AxdEntity_CustTable_1[1] { custTable };
AX_CT.EntityKey[] entityKeyList = new AX_CT.EntityKey[1];
AX_CT.EntityKey key = new AX_CT.EntityKey();
AX_CT.KeyField[] keyFields = new AX_CT.KeyField[1];
AX_CT.KeyField keyField = new AX_CT.KeyField();
keyField.Field = "AccountNum";
keyField.Value = "OPO9999";
keyFields[0] = keyField;
key.KeyData = keyFields;
entityKeyList[0] = key;
try
{
proxy.update(entityKeyList, axdCustTable);
}
catch (Exception excepn)
{
Console.Out.WriteLine(excepn.ToString());
Console.ReadLine();
}
*This post is locked for comments
I have the same question (0)