Re: [NEW ISSUE] granularirty of MTOM policy assertion
Anish Karmarkar <[email protected]> Wed, 21 Feb 2007 09:52:18 -0800
| Newsgroups | gmane.text.xml.distributed |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] > blog: http://www.ibm.com/developerworks/blogs/page/chrisferris > phone: +1 508 377 9295