on ‎2006 Mar 24 6:26 PM
Hi Every one, may be this is a basic question.
What is the technical difference between Datatype and messagetype? What are the different purposes served by them.
-Naveen.
Request clarification before answering.
Hi naveen,
The data type is basically an XSD representation, it describes the valid payload of messsage, it is an abstract description of a structure that you can assign to elements in a XML schema definition. A message type that references a data type determines the name of the root element of a message and it can reference only one data type and determines the content of the message to be transferred.
A data type is not sufficient to describe the instance of a message. In XML schema, data types are defined as abstract types that are not yet fixed to an element. You can only describe an instance of a message when you have specified a data type as an element type. Therefore, a message type defines the root element of a message. And hence you would require to have a messsage type.
However more than one message interface can use the same message type and when you do message mapping you can map messages by directly referencing the message types.
Has this cleared your doubts.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.