469,631 Members | 1,334 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

multiple parameters on request, when hand writing WSDL

I have written a WSDL file and im experiencing a problem with specifying
parameters for an operation. I was expecting for wsdl.exe to produce an
abstract function with three parameters (because of something i read about
using the part name = "parameters") but i just get one parameter of type
GenericRequest. I suppose it's not too big a problem, but id prefer to know
how to achieve multiple parameters rather than just one containing object.

Ive attached some snippets showing what i'm doing,
thanks,
Andrew
*** wsdl message snippet ***

<message name="RequestSubjects">

<part name="parameters" element="ns:GetSubjects"/>

</message>
*** and the schema snippet representing the the three individual parameters
is : ***
<xs:complexType name="GenericRequest">

<xs:sequence>

<xs:element name="Code" type="xs:string"/>

<xs:element name="ProductCode" type="xs:string"/>

<xs:element name="RequestID" type="xs:string"/>
</xs:sequence>
</xs:complexType>

<xs:element name="GetSubjects" type="ns1:GenericRequest"/>
Jul 3 '06 #1
0 991

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

32 posts views Thread by tshad | last post: by
3 posts views Thread by Arun | last post: by
12 posts views Thread by shank | last post: by
3 posts views Thread by =?Utf-8?B?UGllcnJl?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.