Re: One-way messaging in SOAP 1.2

On Tue, 29 Jan 2002, Christopher Ferris wrote:
> However, if it is the responsibility of
> the layer above the HTTP processing (say a servlet or CGI)
> that is effectively the implementation of the HTTP binding,
> that is responsible for interpretation of the new header,
> and responsible for returning an HTTP 204 No Content response
> to the sender. That (IMO) would be perfectly acceptable.

To be HTTP correct, the CGI/Servlet implementation
would need to know enough about the semantics of
the underlying operation to know whether to send
a "202 Accepted" or a "204 No Content" response.

I think the choices are:
1. have the envelope give a hint to the recipient
2. have SOAP methods only return one or the other
	(the response for certain SOAP methods is
	preset when the user installs them in the
	CGI implementaiton)
3. give the SOAP methods excessive awareness of
   HTTP.
4. only return 204 if the response times out and
it is clearly an asynch response (ugly!)
5....?

None of these seem particularly elegant, but I
would choose #2.

-Alex-
___________________________________________________________________
S. Alexander Jacobson                   i2x Media
1-212-787-1914 voice                    1-603-288-1280 fax

Received on Tuesday, 29 January 2002 10:18:02 UTC