Simple and Compound Types: Array
  • An array is a compound type.
  • An array uses ordinal positions to refer to its parts.
  • The array type is indicated by the xsi:type attribute.
  • The namespace associated with an array type is http://schemas.xmlsoap.org/soap/encoding.

In the code example, the num element is a SOAP array, and arrayType="xsd:integer[5]" indicates that it contains five elements of type integer.

<numbers xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:integer[5]">
  <item>1</item>
  <item>2</item>
  <item>3</item>
  <item>4</item>
  <item>5</item>
</numbers>

Click the Next button to continue.