echoString

Request from Apache 2.1 client

POST /soap/servlet/rpcrouter HTTP/1.0
Host: tony:8080
Content-Type: text/xml; charset=utf-8
Content-Length: 458
SOAPAction: "urn:soapinterop"

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:echoString xmlns:ns1="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<echoString xsi:type="xsd:string">Hello</echoString>
</ns1:echoString>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Response from Apache 2.1 server

HTTP/1.0 200 OK
Date: Wed, 07 Feb 2001 01:34:48 GMT
Status: 200
Content-Type: text/xml; charset=utf-8
Content-Length: 466
Content-Language: en

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:echoStringResponse xmlns:ns1="http://soapinterop.org/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xsi:type="xsd:string">Hello</return>
</ns1:echoStringResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>