cancel
Showing results for 
Search instead for 
Did you mean: 

about data type and message type

Former Member
0 Kudos

hi experts,

1. what is data type?

2. what is message type?

3. what is the difference between these two?

4. why XI supports only XML ?

Please reply me as soon as possible.

thanx,

murali.

Accepted Solutions (0)

Answers (6)

Answers (6)

rohit_goel
Participant
0 Kudos

Hi,

Data type:

smallest representation of data in XI.

A data type is an XML Schema Definition (XSD). This definition determines how the valid payload of a message will look. Data types in XML schema are only an abstract description of a structure that you can assign to elements in an XML schema definition. A message type or a fault message type that references a data type determines the name of the root element of a message.

there are 3 types of data type:

1)Built-In Type

2)Simple Type and

3)Complex Type

Message type:

It describes the actual message which is to be exchanged.A messgae type can have only one data type assigned to it.

For technical reasons, 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.

XML is a format in which data is compressed and can be encrypted for security. This allows the data to be sent and received using normal server/browser technology (HTTP/HTTPS ports). Using XML, data can be transmitted in secure form through firewalls and routers that might otherwise stop the transmission of performance data.

regards,

rohit

please rewards points if found useful..

Former Member
0 Kudos

Hi Murli,

DATA TYPE:

smallest representation of data in XI.

A data type is an XML Schema Definition (XSD). This definition determines how the valid payload of a message will look. Data types in XML schema are only an abstract description of a structure that you can assign to elements in an XML schema definition. A message type or a fault message type that references a data type determines the name of the root element of a message.

there are 3 types of data type:

1)Built-In Type

2)Simple Type and

3)Complex Type

see here for more info

http://help.sap.com/saphelp_nw04/helpdata/en/a5/04623c4f69b712e10000000a114084/content.htm

MESSAGE TYPE:

A message type comprises a data type that describes the structure of a message.It comprises exactly one data type, which determines the content of the message to be transferred.It is identified by a name and an XML namespace. The name (together with the namespace) of a message type is located in the uppermost tag of the message to be exchanged.

see here for details

http://help.sap.com/saphelp_nw04/helpdata/en/2d/c0633c3a892251e10000000a114084/content.htm

3. what is the difference between these two?

data type is just a basic structure using which we build the actual message structure...

data type dont have XML namespace...

4. why XI supports only XML ?

XML is very very flexible.Also the data transfer rate using XML is very fast.Probably thats the reason SAP is using XML.

Regards

Biplab

*Please close the thread after getting ur answer**

Former Member
0 Kudos

Hi,

Data type: A data type contains the structure of the data to be exchanged.

Message type: It describes the actual message which is to be exchanged.

A messgae type can have only one data type assigned to it.

XML is an open standard which is used for exchanging structured documents.

XML is a format in which data is compressed and can be encrypted for security. This allows the data to be sent and received using normal server/browser technology (HTTP/HTTPS ports). Using XML, data can be transmitted in secure form through firewalls and routers that might otherwise stop the transmission of performance data.

Due to these advantages XI uses XML .

Hope u got some idea.

Regards

Archanaa

Former Member
0 Kudos

Data type is any basic type of data.

Message type : when many data type or one type of data combines, it forms a message,thus a type of message.

Message type is superset of data type.

why XI supports only XML ?

may as there should be something common in XI, thus may be the develores of xi used XML.

Former Member
0 Kudos

hi,

you can refer to the link below for the query on data type and message type.

http://help.sap.com/saphelp_nw70/helpdata/en/2d/c0633c3a892251e10000000a114084/frameset.htm.

For the query on why XI supports only XML ? answer is that XML is universally accepted language.

Kindly reward with points if found helpful.

Regards

Madhu

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>1.what is data type?

A basic entity

>2. what is message type?

Encapsulation to the basic entity

>4. why XI supports only XML ?

XML is the standard for communication now. Hence XI uses XML.

Regards

Sangeetha