cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Why should we create data type

Seshu
Explorer
0 Kudos
322

Hi all,

I have a basic question!

why do we create data type and then wrap it as message type?

why dont we directly create a message type and use that ?

please give the answers. Thanks in Advance.

View Entire Topic
0 Kudos

Hi Seshu,

A message type comprises a data type that describes the structure of a message. For technical reasons, a data type alone is not sufficient to describe the instance of a message: Data types are defined in XML Schema as abstract types that are not yet tied 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.


Thanks,

Naga.