Problem running soap with html

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 UTC