Search code examples
c#web-serviceswcfaxaptadynamics-ax-2009

consuming web service - Local endpoint XXX does not exist


I have created a AIF- document service frame work in AX.

When I consume the service in C# using WSDL, I can't able to consume, I am getting a exception.

when I saw the exception in Exception form in AX 2009, I got the following error.

"Local endpoint 'XXX' does not exist".

Any Idea regarding this error?

Thanks in advance!


Solution

  • I think you have to create an entry in the form

    Basic -> Setup -> Application Integration Framework -> Local endpoints

    with the value 'XXX' pointing to the actual company you are targeting so that the web service call 'knows' in which company the code should be executed.