Book Image

Microsoft Dynamics AX 2012 R2 Services

Book Image

Microsoft Dynamics AX 2012 R2 Services

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R2 Services
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Adapters


Microsoft Dynamics AX 2012 allows you to exchange messages using various transport protocols. This is enabled by the use of adapters. An adapter has an adapter type that determines if it can be used on an inbound port, an outbound port, or both. The standard adapter types that are used are send and receive, receive or send, and receive and respond. The naming of these types is rather confusing, but the following table shows how this translates to inbound or outbound ports:

Adapter name

Adapter type

Inbound

Outbound

Mode

NetTcp

Send and receive

Yes

No

Synchronous

HTTP

Send and receive

Yes

No

Synchronous

Windows Azure Service Bus

Receive and respond

Yes

No

Synchronous/Asynchronous

Filesystem adapter

Receive or send

Yes

Yes

Asynchronous

MSMQ

Receive or send

Yes

Yes

Asynchronous

Adapters also have an address property. This address is a URI that refers to the destination or source location of the port. Depending on the adapter, this is a URL, a filesystem...