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"/>