Describing MTOM/XOP in WSDL

Greetings XMLPers!

At our recent WSDL face-to-face, we discussed how users would use WSDL
2.0 to describe services which support or require the MTOM/XOP
optimization with SOAP/HTTP.

Since MTOM, and more importantly the HTTP Transmission Optimization
Feature (defined in [1]), are well-defined features per the SOAP
extensibility model, and since WSDL 2.0 already has syntax for
expressing supported or required features, we came to the conclusion
that we would not add any new syntax to WSDL 2.0 specifically for
MTOM/XOP use.

I sent the following to the WSDL group earlier today:

-------
In fulfillment of my action item from the F2F, the following snippet in
our current syntax seems to be all you would need to ensure that the
HTTP Transmission Optimization Feature described in [1] is utilized:

<feature uri="http://www.w3.org/2003/06/soap/features/http-optimization"
         required="true"/>

This would go in your SOAP binding.  If your underlying protocol binding
did not support this feature, you'd get a fault.  Otherwise, you'd get
MTOM/XOP serialized messages.

Specifying the feature with required="false" would indicate to a user
that MTOM/XOP serialization is supported by the service, but not
required.
-------

We wanted to swing this by you folks to see if you had any
comments/thoughts on the subject, and to make sure that you felt this
was a correct solution.  Does this seem the right thing to you?

Thanks,
--Glen

[1]
http://www.w3.org/2000/xp/Group/3/06/Attachments/OptimizationMechanism.h
tml

Received on Tuesday, 25 May 2004 08:53:51 UTC