W3C home > Mailing lists > Public > xml-dist-app@w3.org > October 2002

Re: Question regarding uniqueness of soap Fault in body

From: <noah_mendelsohn@us.ibm.com>
Date: Tue, 22 Oct 2002 16:53:38 -0400
To: Ed Roskos <c0wg0esm00@yahoo.com>
Cc: xml-dist-app@w3.org
Message-ID: <OFA9045878.FB0FBE1A-ON85256C5A.006F6404@lotus.com>

>> A dilemna I am facing is that a response message I generate from an
>> application is streamed, and an error may occur some time after I
>> start streaming the response.

I'm not sure this is an entirely pleasing answer, but you could of course 
put an application-level failure marker in the body.  Of course, in this 
case, SOAP will not consider that an error has occurred, but I'm not sure 
you can do much better with SOAP 1.2.  We considered doing trailers, but 
that has it's own complexitites (e.g.  would you have to do mustUnderstand 
checks on the trailers before processing the body...that breaks streaming 
just as badly).  We decided they did not make an 80/20 cut. 

------------------------------------------------------------------
Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------
Received on Tuesday, 22 October 2002 16:56:41 GMT

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