W3C home > Mailing lists > Public > xml-dist-app@w3.org > April 2004

Re: Binding framework & XML Version / Infoset

From: <noah_mendelsohn@us.ibm.com>
Date: Sat, 24 Apr 2004 14:43:25 -0400
To: Yves Lafon <ylafon@w3.org>
Cc: xml-dist-app@w3.org
Message-ID: <OFA0C78FA2.807E1D99-ON85256E80.006C37AC@lotus.com>

Yves Lafon writes:

> We agreed on the teleconference that this case would be
> covered by the "Unsupported media type" error in our
> current HTTP binding, which make sense, as the
> processing was not able to complete because of a wrong
> media type received.  Of course it is not a generic
> fault, but it can be generalized to all
> binding-specific fault that indicate invalid or
> unrecognizable content received.

This seems like a good solution at the receiver, but the question I was 
raising related to a sender.  What do you do if:

a) You are an original sender at a node that is in general XML 1.1 
capable, but the particular link you are using employs the traditional 
SOAP/HTTP binding.  The application prepares an infoset that is perfectly 
legal SOAP, but you can't send it.  As far as we know, we have no error 
for failure to prepare a media type when sending, only for failure to 
accept one upon receipt.

b) You are an intermediary and the inbound message used 1.1 constructs. 
Again, it's your outbound link that can't handle the content. 

These cases are very similar, and I expect the answers to the two will be 
more or less the same.  Unless I'm missing something, neither is covered 
by the existing error which is reflected by receivers.  Thank you.

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------
Received on Saturday, 24 April 2004 15:45:11 GMT

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