11-15-05 10:56 PM
Hello,
I managed to add a web reference to a BT project with a WSDL that
contains type definitions that produce array type data like this:
<TAG-1>
<TAG-2>
<TAG-3>
<TAG-3>
<TAG-3>
<TAG-2>
<TAG-1>
with a schema like this:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xs:element name="TAG-1">
<xs:complexType>
<xs:sequence>
<xs:element name="TAG-2">
<xs:complexType>
<xs:sequence>
<xs:element name="TAG-3" type="xs:string"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
adding additional type definition in the sequence for TAG-1 also appears
possible.
When I strip off the definition for the <TAG-1> element the Array type
error is thrown when trying to import the WSDL. e.g.
<xs:element name="TAG-2">
<xs:complexType>
<xs:sequence>
<xs:element name="TAG-3" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
I would like to know if any body has tried this before and/or has any
suggestion for its use.
Regards,
Perry Molendijk
[ Post a follow-up to this message ]
|