472,125 Members | 1,439 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,125 software developers and data experts.

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 1105

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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.