Microsoft Dynamics AX Support

This blog contains posts by the Microsoft Dynamics AX Support Teams Worldwide

Switching companies/endpoints when calling AIF services

To change the endpoint or company you are manipulating data in from an AIF web service you need to create the message header and call the service operation inside of an OperationContextScope.  There is a full example of how to do this on msdn – http://msdn.microsoft.com/en-us/library/cc652581.aspx .  Below is a partial example of how to setup the message header and call it within an instance of… Read more