web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AIF Webservice: AddressFilter mismatch EndpointDispatcher

(0) ShareShare
ReportReport
Posted on by

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)
  • Suggested answer
    keoma Profile Picture
    32,729 on at
    RE: AIF Webservice: AddressFilter mismatch EndpointDispatcher

    hi,

    its a configuration error between receiver and sender. check both endpoint settings, they should meet.

  • Community Member Profile Picture
    on at
    RE: AIF Webservice: AddressFilter mismatch EndpointDispatcher

    How can I find out where is problem ?

  • Suggested answer
    Bashir Ahmad Profile Picture
    5,248 on at
    RE: AIF Webservice: AddressFilter mismatch EndpointDispatcher

    This may Help to verify the configurations:

    technet.microsoft.com/.../aa548693.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans