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

Announcements

News and Announcements icon
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

    hi,

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

  • Community Member Profile Picture
    on at

    How can I find out where is problem ?

  • Suggested answer
    Bashir Ahmad Profile Picture
    5,248 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dekion Profile Picture

dekion 4

#2
Virginia99 Profile Picture

Virginia99 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans