BizTalk Server Orchestration - Consuming a WSDL with Array - a solution

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2005 > Consuming a WSDL with Array - a solution





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Consuming a WSDL with Array - a solution
Perry Molendijk

2005-11-15, 5: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com