AIF Messages

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

This section of the documentation describes the tags used in Microsoft Dynamics AX services Application Integration Framework (AIF) messages. An AIF message uses XML to describe a self-contained unit of data that can consist of several parts. These parts include a <Header> tag section and a <Body> tag section. All XML used in AIF is validated against the appropriate schema. For more information about AIF messages and schemas, see Messages and transforms in AIF.

When you set up an inbound integration port and run an inbound service, AIF receives and processes an inbound message and generates an outbound message in response. When you set up an outbound integration port and run an outbound service to send data outside Microsoft Dynamics AX, AIF sends an outbound message. For more information about inbound and outbound integration ports, see Integration ports and Managing integration ports.

The tag names in the <Body> section vary between different types of inbound and outbound messages. The tags that are required in the <Body> section for Microsoft Dynamics AX document services depend on which service operation is specified in the <Action> tag in the <Header> section.

In This Section

The topics covered in this section describe and provide examples for the <Header> tag schema and the <Body> tag schema for AIF messages.

Message Header

Message Body

How to: Enable Checking for Duplicate Messages

Example Messages for AIF Document Service Operations

See also

Sequential and parallel processing in services and AIF

Message Header

Message Body

Document Class Service Operations