W3C home > Mailing lists > Public > xml-dist-app@w3.org > February 2007

Re: [NEW ISSUE] granularirty of MTOM policy assertion

From: Anish Karmarkar <Anish.Karmarkar@oracle.com>
Date: Wed, 21 Feb 2007 09:52:18 -0800
Message-ID: <45DC86D2.1070603@oracle.com>
To: Christopher B Ferris <chrisfer@us.ibm.com>
CC: xml-dist-app@w3.org

Christopher B Ferris wrote:
> 
> Title: granularity of MTOM policy assertion
> 
> Description: The assertion requires all messages, regardless of whether 
> there is binary content, to be sent as
> application/xop+xml. Is this correct behavior? Shouldn't the assertion 
> granularity be finer, e.g. such that a client
> could send a SOAP request (application/soap+xml) and receive an MTOM 
> response (application/xop+xml)
> and vice-versa?

Another usecase where it is valuable to select xop+xml or not is when 
certain requests (or responses) have binary content or not. Eg, when the 
schema for the message has a xs:choice. OR when the sender wants to 
optimize based on the size of the binary data. For example, the sender 
may want to send the message as xop+xml when the binary data size > X 
and send it as base64Binary when size <= X

-Anish
--

> 
> Justification: seems odd at best to send xop serialized message even 
> when there is no binary content.
> 
> Type: technical
> 
> Proposal:  TBD
> 
> Cheers,
> 
> Christopher Ferris
> STSM, Software Group Standards Strategy
> email: chrisfer@us.ibm.com
> blog: http://www.ibm.com/developerworks/blogs/page/chrisferris
> phone: +1 508 377 9295
Received on Wednesday, 21 February 2007 18:00:20 GMT

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