Consuming a WSDL with Array - a solution
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Consuming a WSDL with Array - a solution




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Consuming a WSDL with Array - a solution  
Perry Molendijk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:52 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register