<operation name="GenderLookup">
<input message="tns:GenderLookupRequestMsg" />
<output message="tns:GenderLookupRequestMsg" />
</operation>
<message name="GenderLookupRequestMsg">
<part name="body" element="tns:GenderLookup" />
</message>
From: "Scott Nichol" <snicholnews@xxxxxxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Nusoap-general] doc/lit request parameters............?
Date: Sat, 29 May 2004 22:09:30 -0400
What is the WSDL for the input message for the method? An example:
<message name"echoStructRequest">
<part name"parameters" element"tns:echoStructParam"/>
</message>
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Fred B" <fredb86@xxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, May 27, 2004 4:14 PM
Subject: [Nusoap-general] doc/lit request parameters............?
>
> Suppose we have this WSDL fragment which describes a Document/Literal
> request called GenderLookup (the WSDL is not complete but there is =
enough
> information to derive the request).
>
> What would the request parameters look like for the elements "Human" =
and
> "HumanReponse"?
>
>
> <definitions xmlns"http://schemas.xmlsoap.org/wsdl/"
> xmlns:soap"http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:xs"http://www.w3.org/2001/XMLSchema"
> xmlns:tns"http://genderdata.com" =
targetNamespace"http://genderdata.com">
> <xs:element name"GenderLookup">
> <xs:complexType>
> <xs:sequence>
> <xs:element name"Gender" type"xs:string"/>
> <xs:element name"Points" type"xs:string" minOccurs"0"/>
> <xs:element name"Common" type"tns:GenderLookupRequest"
> minOccurs"0"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> <xs:complexType name"GenderLookupRequest">
> <xs:sequence>
> <xs:element ref"tns:Human" minOccurs"0"/>
> <xs:element name"Species" type"xs:string" minOccurs"0"/>
> <xs:element ref"tns:HumanResponse" minOccurs"0"
> maxOccurs"unbounded"/>
> </xs:sequence>
> </xs:complexType>
> <xs:element name"Human">
> <xs:simpleType>
> <xs:restriction base"xs:string">
> <xs:enumeration value"C"/>
> <xs:enumeration value"N"/>
> <xs:enumeration value"A"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:element>
> <xs:element name"HumanResponse">
> <xs:complexType>
> <xs:sequence>
> <xs:element name"Gender" type"xs:string"/>
> <xs:element name"Points" type"xs:positiveInteger"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </definitions>
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security.
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click