Part of the SOAP website. Updated: 4/5/98; 6:03:14 AM.

SOAP: Example 1

Here's a simple SOAP request

POST /soap HTTP/1.0
User-Agent: Frontier/5.0.1 (WinNT)
Host: betty.userland.com
Content-Type: text/xml
Content-length: 493

<?XML VERSION="1.0"?> <methodCall> <methodName>signGuestbook</methodName> <params> <param> <name>comments</name> <value>My name is Dave Winer and I'm testing Betty from UserLand Software. It's 3/25/98; 2:40:38 PM here right now.</value> </param> <param> <name>mail</name> <value>dave@scripting.com</value> </param> <param> <name>url</name> <value>http://www.scripting.com/frontier5/xml/plan.html</value> </param> </params> </methodCall>

Here's the response

HTTP/1.1 200 OK
Connection: close
Content-Length: 161
Content-Type: text/xml
Date: Wed, 25 Mar 1998 22:43:40 GMT

<?XML VERSION="1.0"?> <methodResponse> <params> <param> <value> <boolean>1</boolean> </value> </param> </params> </methodResponse>

CGI interface

This application is on the air now. You can view the guest book registry via a CGI interface.


© Copyright 1996-97 UserLand Software. This page was last built on 4/5/98; 6:03:14 AM. It was originally posted on 3/30/98; 12:24:39 PM. Webmaster: dave@scripting.com.