Herong's Tutorial Notes on Web Service and SOAP
Dr. Herong Yang, Version 3.00

Node Types - simple, struct, array

This section describes the nodeTYpe attribute used in serializing complex values.

To help identifying the type of node, SOAP encoding specification also offers the following rule:

Rule 7. When serializing an labeled inbound edge, "enc:nodeType" attribute can be added to indicate what kind of a value this node represents. "enc:nodeType" may be one of the strings "simple" or "struct" or "array".

Example 7:

   <currentCustomer enc:nodeType="struct">
    <id enc:nodeType="simple">2321</id>
    <name enc:nodeType="simple">Herong</name>
    <isSmoking enc:nodeType="simple">false</isSmoking>
   </currentCustomer>

Sections in This Chapter

What Is SOAP Encoding?

Multiple References and Circular References

Node Types - simple, struct, array

SOAP Encoding Attributes and Namespace

Using SOAP Encoding in SOAP Messages

Dr. Herong Yang, updated in 2007
Node Types - simple, struct, array