SOAP 1.1 Interface for Current TimePosted by Dave Winer, 10/3/01 at 9:32:10 AM.
Bridging RFC 868 and XML-RPC 
To keep documentation simple, first read the spec for the XML-RPC interface. There's only one difference in the SOAP 1.1 interface -- instead of calling time.xmlrpc.com, you call time.soapware.org.
Request and Response 
Here's an example of a call and a response.
POST /currentTime HTTP/1.0
User-Agent: Radio UserLand/7.1b7 (WinNT)
Host: time.soapware.org
Content-Type: text/xml; charset="us-ascii"
Content-length: 426
SOAPAction: "/currentTime"
<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
| | <getCurrentTime></getCurrentTime>
|
HTTP/1.1 200 OK
Connection: close
Content-Length: 521
Content-Type: text/xml; charset="us-ascii"
Date: Wed, 03 Oct 2001 16:26:27 GMT
Server: UserLand Frontier/7.0.1-WinNT
<?xml version="1.0"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
| | <Result xsi:type="xsd:timeInstant">2001-10-03T09:26:27-07:00</Result>
|
| | </getCurrentTimeResponse>
|
|