Axaptapedia is now maintained by AgileCadence For more information please click here.
AIFEnvelopeTool
From Axaptapedia
Overview[edit]
This tool enable the wrapping of any XML message with an envelope so that it can be processed by the AIF. You specify the input file containing the message to be wrapped, where to output the wrapped file and message header detail, then click 'OK' to generate the output file:
Background[edit]
When a message is received in AX using the Application Integration Framework (AIF), that message must be wrapped in an envelope. That envelope contains a body (which contains the message) and a header which identifies the message and how it should be handled, eg: <xpp> <?xml version="1.0" encoding="UTF-8" ?>
<Envelope xmlns="http://schemas.microsoft.com/ dynamics/2006/02/documents/Message"> <Header> <MessageId>{FC1E887D-F930-4AA3-AC1C-E5851D090463}</MessageId> <SourceEndpointUser>MYDOMAIN\MYUSER</SourceEndpointUser> <SourceEndpoint>CustomerCompany</SourceEndpoint> <DestinationEndpoint>MyCompanyLEP</DestinationEndpoint> <Action>readListExchangeRates</Action> <RequestMessageId /> </Header> <Body> </Body> </Envelope>
</xpp>
This tool will add the wrapping around the 'inbound message' shown above.
Download[edit]
Installation[edit]
- Import .xpo file into Dynamics AX.
- Optionally add menu item DEV_XmlAddAIFEnvelope to the Basic/Periodic/Application Integration Framework menu.
- Alternatively open the DEV_XmlAddAIFEnvelope form from the AOT.
Supported Dynamics AX versions[edit]
- Developed in Dynamics AX 4.0 SP2
- Dynamics AX 2009