Hi,
While calling custom service from Ax 2012 R3 to Ax 2009 i'm getting this error. i have performed below steps to create and consume custom service.
I have created a custom aif service in Ax 2009 server. using the below link.
https://blogs.msdn.microsoft.com/aif/2008/12/16/creating-custom-dynamics-ax-services/
Then i have hosted AifWebService (C:\Program Files\Microsoft Dynamics AX\50\AifWebServices)folder in IIS in Ax 2009 Server. because of AifWebService components has not installed in Ax 2009 server. now i can access my created custom service using the wsdl URL.
now i have created .Net wrapper for consume the server in Ax 2012 R3. after i have added this Library to my Ax 2012 R3 server.
I'm able to get my service in Ax 2012 R3 server.
calling service through Ax 2012 R3 I'm getting this error. i have checked more links for this error but still not getting any solution.
Below is my Web.Config in Ax 2009 Server.
<system.serviceModel> <bindings> <basicHttpBinding> <binding name="basicHttpBindingWindowsAuth"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows" proxyCredentialType="None"/> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings> </system.serviceModel>
Belo is my App.Config file in Ax 2012 R3 Server.
<bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IND_D3652AX09Service"> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows" proxyCredentialType="None" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> <binding name="BasicHttpBinding_IIAX20092D365" /> </basicHttpBinding> </bindings>
i'm not sure which step i have missed.
can you please help me out this issue ?
*This post is locked for comments