You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jesper Söderlund <Je...@smarttrust.com> on 2002/09/02 15:45:17 UTC
Arrays and derived types..
According to the SOAP- specification in an array you can have types of the specified array type and derived types.
The schema would look similar to this (taken from XML Schema specification):
"...
<complexType name="Address">
<sequence>
<element name="name" type="string"/>
<element name="street" type="string"/>
<element name="city" type="string"/>
</sequence>
</complexType>
<complexType name="USAddress">
<complexContent>
<extension base="ipo:Address">
<sequence>
<element name="state" type="ipo:USState"/>
<element name="zip" type="positiveInteger"/>
</sequence>
</extension>
</complexContent>
</complexType>
"
Any ideas how this works in Axis? Any difference between document style and RPC-style?
Regards,
/Jesper