W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2001

SOAPAction Proposal

From: Martin Gudgin <marting@develop.com>
Date: Thu, 3 May 2001 17:06:55 +0800
Message-ID: <003401c0d3b0$68a65550$a5fe55cb@greyarea>
To: "XML Protocol Comments" <xml-dist-app@w3.org>
I've been reading the mails on SOAPAction, there seems to be some sentiment
for the idea that the value of SOAPAction should reflect some information in
the body of the message. Here is a proposal for discussion;

The value of SOAPAction *must* be the namespace URI and local name of the
first element child of soap:Body separated by a #. If the value of
SOAPAction does not contain that value the server *must* generate a fault.

e.g.

POST someuri HTTP/1.1
Content-Type: text/xml
Content-Length: nnnn
SOAPAction: myuri#myelement

<soap:Envelope xmlns:soap='uri for soap' >
  <soap:Body>
    <m:myelement xmlns:m='myuri' />
  </soap:Body>
</soap:Envelope>

Note that currently SOAPAction can be anything, it doesn't need to reflect
any piece of information in the body of the message. This proposal is
similar ( if not identical... ) to the SOAPMethodName in SOAP 1.0[1]

Flames, comments etc. to the usual address,

Martin Gudgin
DevelopMentor

[1] http://www.soaprpc.com/mirror/ietf/draft-box-http-soap-01.txt.html
Received on Thursday, 3 May 2001 05:08:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:01 GMT