Hello,
I'm trying to figure out a way to change AX environments using AIF in an import tool I'm developing in Visual Studio.
In AX 2012, I got to System Administration -> Setup -> Services and Application Integration Framework -> Inbound Ports to set up a nettcp adapter to generate a WSDL URI address I can use in Visual Studio by adding a service reference.
That works well except for the fact that I don't know how to switch environments on the fly. For example, if I import a product using that port that is directed to an AX test environment, I have to go into the code and switch out the reference an exact same service in an AX production environment.
Is there anyway to switch the WSDL URI address of the service when a dropdown list containing a list of possible environments is changed?
*This post is locked for comments
I have the same question (0)