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.
When you are building a Message Interface, you are really putting together a WSDL file. You can see this when you look at a MI, one of the tabs is for WSDL. So your question about the differences between message types and data types gets to why WSDL has the distinctions.
In WSDL, <i>type</i>s (XI Data Types) are basic data structures. <i>message</i>s (XI Message Types) have a pointer to one or more <i>type</i>s. In the XI Designer, when you are putting together a Message Interface (WSDL porttype), you are building a WSDL file. WSDL says a message points to a type, XI has you create a Data Type and a Message Type. Then point the Message Type at the Data Type.
Standard WSDL has more flexability (ambiguity) built in, including the ability to use Message Parts to combine multiple <i>type</i>s into one <i>message</i>. XI does not allow for this. The Message Type may point to exactly one Data Type.
To achieve the same effect of "multiple data types" in XI, you would create datatype1, datatype2, and then create datatype3 which has two root elements in it, one of datatype1, and another of datatype2. Then you would use type3 in your Message Type.
Read this for more info:
Tim
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.