We are trying to integrate 2 separate AX implementations using AIF
Steps:
1. Created AIF service in AX environment 1.
2. Wrote a .NET wrapper around the AIF, using a class library project type.
3. Deployed class library project in AOT of AX environment 2 and also added classlibrary.dll and classlibrary.dll.config in the Bin folder of 2nd environment and than added reference to dll in the AOT of environment 2
4. We finally wrote X++ job in AX environment 2 to call/consume the class library that was added in the AOT of AX environment 2.
Exception :
System.InvalidOperationException: Could not find default endpoint element that references contract 'AMSSVCSR.HREMPAIFService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
![]()
*This post is locked for comments
I have the same question (0)