W3C home > Mailing lists > Public > xml-dist-app@w3.org > March 2001

Problem running soap with html

From: Veerappan Saravanan <veerappan.saravanan@integral.com>
Date: Wed, 14 Mar 2001 13:46:48 -0500 (EST)
Message-ID: <726272798416D5118E720090279CBE301DA0D0@mvmail.integral.com>
To: "'xml-dist-app@w3.org'" <xml-dist-app@w3.org>
I was successful in running soap examples using xml-soap and tomcat (both
from apache). In these examples my client was written using java code (Call,
Response objects, etc).

How can I run the same example using html. For example, can I put the
following piece of code in html and run it.

Listing 1. SOAP request.
-----------------------

POST /ibm-soap/rpcrouter.jsp HTTP/1.1
Host: localhost
Content-Type: text/xml; charset="utf-8"
Content-Length: 484
SOAPAction: "<http://www.psol.com/soap/reverse>"

<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:reverse
xmlns:ns1="http://www.psol.com/soap/reverse"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<st xsi:type="xsd:string">Pineapplesoft</st>
</ns1:reverse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

If so, how do I do it. Obviously pasting this code in html doesn't work.

Thanks in advance.
Van
Received on Wednesday, 14 March 2001 16:04:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:59 GMT