How do you specify in document/literal wsdl that a parameter is an array?
Along those same lines, how would you specify multiple parameters to a
document/literal defined method?
I've tried defining the following with mixed results depending on the tool I
use to generate client side code, sometimes its an array, sometimes it's a
class (ArrayOf_xsd_string) that contains an array. I have similar problems
with mehtods that take in multiple parameters...
------
<complexType name="ArrayOf_xsd_string">
<sequence>
<element name="strings" type="xsd:string" maxOccurs="unbounded"
nillable="true"/>
</sequence>
</complexType>
<element name="ClearContentRequest" type="impl:ArrayOf_xsd_string"/>
-----
<wsdl:message name="clearContentRequest">
<wsdl:part name="in0" element="impl:ClearContentRequest"/>
</wsdl:message>
<wsdl:message name="clearContentResponse"/>
-----
<wsdl:operation name="clearContent" parameterOrder="in0">
<wsdl:input message="impl:clearContentRequest"
name="clearContentRequest"/>
<wsdl:output message="impl:clearContentResponse"
name="clearContentResponse"/>
<wsdl:fault message="impl:DIException" name="DIException"/>
</wsdl:operation>
------
<wsdl:operation name="clearContent">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="clearContentRequest">
<wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:com.endeca.service.dataindexing" use="literal"/>
</wsdl:input>
<wsdl:output name="clearContentResponse">
<wsdlsoap:body
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:com.endeca.service.dataindexing" use="literal"/>
</wsdl:output>
<wsdl:fault name="DIException">
<wsdlsoap:fault
encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" name="DIException"
namespace="urn:com.endeca.service.dataindexing" use="literal"/>
</wsdl:fault>
</wsdl:operation>
thanks,
bill
-------------------------------
William Keicher
Software Engineer
Endeca
T: 617-621-7250
F: 617-577-7766
E: wkeicher_at_endeca.com
-------------------------------
This email message and any attachments are confidential to Endeca. If you
are not the intended recipient, please notify Endeca immediately -- by
replying to this message or by sending an email to: legal_at_endeca.com -- and
destroy all copies of this message and any attachments. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net