Direct referencing a web service in AOT may lead to different issues some times when it comes to use service reference in the x++ code.
I will show you a simple recipe of how we can consume an external web service in AX2009 by wrapping this web service into a .net assembly wrapper.
Open a visual studio, create a new project.
Select the .net class library as template.
Give it a meaning full name so it can be accessed from x++ code.
Add a web service reference, I’m using a public WSDL of...(read more)
↧