You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Pete Rhodes <sk...@ductape.net> on 2000/11/01 22:26:04 UTC

Perl - Example

Hi! I was trying to write perl soap client for IBM-SOAP implementation (JAVA
SOAP Server). I am unable to create a SOAP Envelope such as the following. Can
any body tell me how to create a Envelope such the following?


<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:
SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns1:addEntry xmlns:ns1="urn:AddressFetcher" SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<nameToRegister xsi:type="xsd:string">XYZ</nameToRegister>
<address xmlns:ns2="urn:xml-soap-address-demo" xsi:type="ns2:address">
<city xsi:type="xsd:string">Santa Fe</city>
<phoneNumber xsi:type="ns2:phone">
<areaCode xsi:type="xsd:int">111</areaCode>
<number xsi:type="xsd:string">222</number>
<exchange xsi:type="xsd:string">333</exchange>
</phoneNumber>
<state xsi:type="xsd:string">NM</state>
<zip xsi:type="xsd:int">33333</zip>
<streetNum xsi:type="xsd:int">9</streetNum>
<streetName xsi:type="xsd:string">Street</streetName>
</address>
</ns1:addEntry>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Thanks in advance!