Microsoft Dynamics 365 Blog

Switching companies/endpoints when calling AIF services 

4 min read

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 – .  Below is a partial example of how to setup the message header and call it within an instance of…Read more