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

4678 proposal

From: Jonathan Marsh <jonathan@wso2.com>
Date: Wed, 20 Jun 2007 12:54:39 -0700
To: <xml-dist-app@w3.org>
Message-ID: <007a01c7b374$d9204f20$8b60ed60$@com>
Update 1.2 Example as follows:

 

Table 1: Example of the MTOM Serialization policy assertion attached to WSDL
2.0.

                                

1 <wsdl:description

2         targetNamespace="http://tns.example.com/"

3         xmlns:tns="http://tns.example.com/"

4         xmlns:wsdl="http://www.w3.org/ns/wsdl"

5         xmlns:wsp="http://www.w3.org/ns/ws-policy"

6         xmlns:wsoma="http://w3.org/@@@/policy/optimizedmimeserialization"

7
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd" >

  

8         <wsp:Policy wsu:Id="MyPolicy" >

9                 <wsoma:OptimizedMimeSerialization />

10                <!-- omitted assertions --> 

11        </wsp:Policy>

 

12        <!-- omitted elements -->

 

13        <wsdl:binding name="MyBinding" type="tns:MyInterface" >

14                <wsp:PolicyReference

15                        URI="#MyPolicy"

16                        wsdl:required="true" />

17                <!-- omitted elements -->

18        </wsdl:binding>

 

19 </wsdl:description>

                                                

 

Lines (8-11) in are a policy expression that includes an MTOM Serialization
policy assertion (Line 9) to indicate that the SOAP Message Transmission
Optimization Mechanism [MTOM] will be used. 

Lines (13-18) are a WSDL 2.0 [WSDL2.0] binding. Lines (14-16) indicate that
the policy in Lines (8-11) applies to this binding, specifically indicating
that MTOM encodings must be accepted over all the messages in the binding.
Line (16) indicates policy is a required extension.

 

Jonathan Marsh -  <http://www.wso2.com> http://www.wso2.com -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com

 
Received on Wednesday, 20 June 2007 19:54:44 GMT

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