2.2.20.7 SoapHeader

The optional SoapHeader packet contains application-defined information.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

HeaderSectionID

Reserved

HeaderDataLength

Header (variable)

...

BodySectionID

Reserved1

BodyDataLength

Body (variable)

...

HeaderSectionID (2 bytes): A 16-bit unsigned short integer field that MUST be set to 0x0320.

Reserved (2 bytes): A 16-bit unsigned integer field that is reserved for future use. The sender SHOULD set this field to 0x0000, and the receiver MUST ignore it on receipt.

HeaderDataLength (4 bytes): A 32-bit unsigned integer that specifies the length of the Header field. This field MUST be set to the number of elements in the Unicode Header field, including the terminating null character. This field has a valid range between 0x00000000 and the size limit imposed by the value of BaseHeader.PacketSize.

Header (variable): A null-terminated Unicode string. This field contains an application-defined string.

BodySectionID (2 bytes): A 16-bit unsigned short integer that MUST be set to 0x0384.

Reserved1 (2 bytes): A 16-bit unsigned short integer field reserved for future use. The sender SHOULD set this field to 0x0000, and the receiver MUST ignore it on receipt.

BodyDataLength (4 bytes): A 32-bit unsigned integer that specifies the length of the Body field. This field MUST be set to the number of elements in the Unicode Body field, including the terminating null character. This field has a valid range between 0x00000000 and the size limit imposed by the value of BaseHeader.PacketSize.

Body (variable): A null-terminated Unicode string. This field contains an application-defined string.