From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 4:13 AM
To: [email protected]
Subject: getting rid of ArrayOf in WSDL
Sorry if this has been asked before...
Is there anyway of using the Java2WSDL command to produce wrapped/literal WSDL that does NOT create separate complex types for Arrays.
In other words, I would like to see
<complexType name="FullSearchCriteria">
<complexContent>
<extension
base="tns5:SearchCriteria">
<sequence>
<element name="sortField"
nillable="true" type="tns10:Property"/>
<element name="queries"
nillable="true" maxOccurs="unbounded" type="tns10:Query"/>
</sequence>
</extension>
</complexContent>
</complexType>
(as I cannot get ArrayOf version to work with .NET client) instead of
<complexType
name="ArrayOf_tns10_Query">
<sequence>
<element
maxOccurs="unbounded" minOccurs="0" name="item" type="tns10:Query"/>
</sequence>
</complexType>
.....
<complexType name="FullSearchCriteria">
<complexContent>
<extension
base="tns5:SearchCriteria">
<sequence>
<element name="sortField"
nillable="true" type="tns10:Property"/>
<element name="queries"
nillable="true" type="impl:ArrayOf_tns10_Query"/>
</sequence>
</extension>
</complexContent>
</complexType>
------------------------------------------------------------
This
e-mail may be privileged and/or confidential, and the sender does not waive any
related rights and obligations. Any distribution, use or copying of this e-mail
or the information it contains by other than an intended recipient is
unauthorized. If you received this e-mail in error, please advise me (by return
e-mail or otherwise) immediately.
Ce courrier �lectronique est
confidentiel et prot�g�. L'exp�diteur ne renonce pas aux droits et obligations
qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des
renseignements qu'il contient par une personne autre que le (les)
destinataire(s) d�sign�(s) est interdite. Si vous recevez ce courrier
�lectronique par erreur, veuillez m'en aviser imm�diatement, par retour de
courrier �lectronique ou par un autre
moyen.
============================================================
