cancel
Showing results for 
Search instead for 
Did you mean: 

role of DT and MT

Former Member
0 Kudos

Hi experts,

What is the role of DT and MT in XI?

Why do we create them for diff scenario's.

Advance thnxs

Nani

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi-

Data types are basic entity to define the structure of XML element

Message types are based on data type that are defined on XSD and corresponds to the root of the XML message.

Former Member
0 Kudos

The message type is the actual payload message, it corresponds to the root element of your XML document. Each XI message type is based on or references one data type. Where as the data type is your entire XML structure.

Regards

Pravesh

Former Member
0 Kudos

conforming to WSDL standards:

the WSDL-specific elements are:

1. Types: Describes the types used by messages(corresponds to DT).

2. message: Defines the data passed from one point to another in a call(correwsponds to MT).

3. portType: Defines a collection of operations(corresponds to Message Interface).

pls comment

former_member335553
Active Contributor
0 Kudos

Hi

Data Type is basic unit of data structure.

And Message types comprisess of Data types. SO it is clear that it is something like wrapper to your data type. So each message type should have one root element.Then it will become valid XML.

A message type consist of exactly one data type. However a data type can be built out of several datatypes, so you can build hierarchical structures with datatypes (and reuse data types within different data types e.g. create data type for address data and use it in a data type for customer data as well as for vendor data).

Where the data type defines the structure of the XML message, the Message Type defines the name of the Root Element as well as the XML Namespace which can be different from your XI Development Namespace

A good thread to refer

Former Member
0 Kudos

Hey

DT is used to tell XI about the data structure of the sender and receiver.

MT is a wrap over DT and conforms to WSDL standards.

thanx

ahmad

Message was edited by:

Ahmad