The leading directory for SOAP 1.1 developers.


Weblogs.Com SOAP 1.1 Interface

Posted by Dave Winer, 10/1/01 at 7:20:36 AM.

What is Weblogs.Com? 

Weblogs.Com is a Web application that tracks changes to news-oriented websites. It was launched in late 1999 when there weren't many weblogs. Today the weblog community has grown from a few hundred sites to many thousands. To meet the growth, we've designed and are deploying a new mechanism for tracking updates to weblogs. The transition is fully described here.

The logical interface 

To keep documentation simple, first read the spec for the XML-RPC interface. The SOAP interface is identical.

In SOAP calls you have to specify the names of the parameters, they are weblogname and weblogurl, as indicated in the spec.

Request and Response 

Here's an example of a call and a response.

POST /weblogUpdates HTTP/1.0
User-Agent: Radio UserLand/7.1b7 (WinNT)
Host: rpc.weblogs.com
Content-Type: text/xml; charset="us-ascii"
Content-length: 552
SOAPAction: "/weblogUpdates"

<?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">
 <SOAP-ENV:Body>
 <ping>
 <weblogname xsi:type="xsd:string">Scripting News</weblogname>
 <weblogurl xsi:type="xsd:string">http://www.scripting.com/</weblogurl>
 </ping>
 </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>


HTTP/1.1 200 OK
Connection: close
Content-Length: 571
Content-Type: text/xml; charset="us-ascii"
Date: Mon, 01 Oct 2001 14:09:02 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">
 <SOAP-ENV:Body>
 <pingResponse>
 <Result>
 <flerror xsi:type="xsd:boolean">0</flerror>
 <message xsi:type="xsd:string">Thanks for the ping.</message>
 </Result>
 </pingResponse>
 </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>

Home |  About |  Validator |  Hosting |  Weblog | Join Now | Login

© Copyright 2000-2010 UserLand Software, Inc.

Create your own Manila site in minutes. Everyone's doing it!