simple type support in kSOAP
[email protected] Wed, 25 Dec 2002 22:45:21 -0500
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I resently started using kSOAP.
I have a question about Simple Type.
In the following example there is a simple type "stateType"
Can any one help me how to use kSOAP to construct this type of request...
Umesh Phirke
Request:----
<SOAP-ENV:Envelope xmlns:urn1="urn:AddressFetcher2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<urn1:addEntry id="o0" SOAP-ENC:root="1">
<name xsi:type="xsd:string">Purdue Boilermaker</name>
<address xsi:type="urn1:address">
<streetNum xsi:type="xsd:int">101</streetNum>
<streetName xsi:type="xsd:string">Harvard St</streetName>
<city xsi:type="xsd:string">Plano</city>
<state xsi:type="urn1:stateType">TX</state>
<zip xsi:type="xsd:int">2445</zip>
<phoneNumber xsi:type="urn1:phone">
<areaCode xsi:type="xsd:int">101</areaCode>
<exchange xsi:type="xsd:string">228</exchange>
<number xsi:type="xsd:string">2828</number>
</phoneNumber>
</address>
</urn1:addEntry>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/