On Fri, 2005-09-02 at 00:16 -0700, Dennis Sosnoski wrote:
> The real solution is for XMLBeans to support MTOM directly, as I'm 
> planning to do with JiBX. 

Right .. almost (I think). Really what XMLBeans and JiBX and any other
data binding thing needs to support is the
http://www.w3.org/TR/xml-media-types/ spec which basically is an
extension of XML Schema to support media types. That really has nothing
to do with Web services or serialization/deserialization. (That's why
the WSDL WG which wrote that spec in trying to support MTOM in WSDL,
decided to separate that out totally.)

> As long as we use a reasonably clean interface 
> to the transport layer for getting attachments when unmarshalling and 
> setting them when marshalling we should be able to work with any data 
> binding framework that understands attachments. If JiBX turns out to be 
> the first one to support this we can work out the interface details then.

+1! At this time AFAIK only AXIOM really supports MTOM fully in its
guts: where "attachments" disappear into the tree. If you can help
figure out the interface to get that hooked up properly with a data
binder that understands the media types spec above that'll be very
valuable. Certainly worth separating that API (new JSR? Nahhh too much
politics ..).

Sanjiva.

Reply via email to