Sam Ruby has a proposal for a SOAP-based alternative to the CommentAPI. To try to clarify things here is an example interaction for each proposal, starting with Sam's.
First, here is the message sent to the end-point:
POST /news/comments/5 HTTP/1.1
Content-Type: text/xml
<?xml version="1.0"?>
<soap:Envelope
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://purl.org/rss/1.0/">
<soap:Header/>
<soap:Body>
<item rdf:about="http://www.intertwingly.net/blog/1290.html">
<title>Would you? Could you?</title>
<link>http://www.intertwingly.net/blog/1290.html</link>
<description>Before reading this, please read this.</description>
<content:encoded>Before reading
<a href="http://www.intertwingly.net/blog/1290.soap">this</a>, please read
<a href="http://enquirer.com/editions/2002/01/27/tem_sam_(i_am)_has.html"> this</a>.
</content:encoded>
<dc:date>2003-03-20T12:49:50-05:00</dc:date>
</item>
</soap:Body>
</soap:Envelope>
This is a best guess at what the response generated would be. The actual response may differ from this, corrections are welcome.
HTTP/1.1 200 OK
<?xml version="1.0"?>
<soap:Envelope
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://purl.org/rss/1.0/">
<soap:Header/>
<soap:Body>
<item/>
</soap:Body>
</soap:Envelope>
Now here is the same interaction using the CommentAPI.
POST /news/comments/5 HTTP/1.1
Content-Type: text/xml
<?xml version="1.0"?>
<item xmlns:dc="http://purl.org/dc/elements/1.1/" >
<title>Would you? Could you?</title>
<link>http://www.intertwingly.net/blog/1290.html</link>
<description>Before reading this, please read this.</description>
<content:encoded>Before reading
<a href="http://www.intertwingly.net/blog/1290.soap">this</a>, please read
<a href="http://enquirer.com/editions/2002/01/27/tem_sam_(i_am)_has.html"> this</a>.
</content:encoded>
<dc:date>2003-03-20T12:49:50-05:00</dc:date>
</item>
And this is the response:
HTTP/1.1 200 OK
Posted by Seairth on 2003-03-21
Posted by Mark on 2003-03-22
Posted by Joe on 2003-03-22
Posted by Mark on 2003-03-24
Posted by Joe on 2003-03-24
Posted by Mark on 2003-03-24
Posted by anonymous on 2003-04-14
Posted by anonymous on 2004-12-01
Posted by Mark on 2003-03-21