Click or drag to resize

Structures

Home

Structures are encoded as a xs:complexType with all of the fields appearing in a sequence. All fields are encoded as an xs:element and have xs:maxOccurs set to 1.

For example, the Read service has a ReadValueId structure in the request. The XML schema would look like:

XML
<xs:complexType name="ReadValueId">
  <xs:sequence>
    <xs:element name="NodeId" type="tns:NodeId" minOccurs="1" />
    <xs:element name="AttributeId" type="xs:int" minOccurs="1" />
    <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />
    <xs:element name="DataEncoding" type="tns:NodeId" minOccurs="1" />
  </xs:sequence>
</xs:complexType>