You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Oliver Rettig <Ol...@telda.net> on 2001/07/11 16:44:13 UTC
2 declarations of Array[] which is correct?
Hi,
in the first declaration "name" is used in tag attribute:
<complexType name="ArrayOfString">
<complexContent>
<restriction base="SOAP-ENC:Array">
<attribute name="SOAP-ENC:arrayType"
wsdl:arrayType="string[]"/>
</restriction>
</complexContent>
</complexType>
in the second declaration instead of name ref is used:
<xsd:complexType name='ArrayOfstring'>
<xsd:complexContent>
<xsd:restriction base='SOAP-ENC:Array'>
<xsd:attribute ref='SOAP-ENC:arrayType'
wsdl:arrayType='xsd:string[]'/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
what is correct?
please help
best regards
Oliver