4678 proposal

"Jonathan Marsh" <[email protected]> Wed, 20 Jun 2007 12:54:39 -0700
Newsgroups gmane.text.xml.distributed
Message-ID <007a01c7b374$d9204f20$8b60ed60$@com>
This is a multipart message in MIME format.

------=_NextPart_000_007B_01C7B33A.2CC17720
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

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

 


------=_NextPart_000_007B_01C7B33A.2CC17720
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><i>Update 1.2 Example as =
follows:<o:p></o:p></i></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Table 1: Example of the MTOM Serialization policy =
assertion attached
to WSDL 2.0.<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p>

<p class=3DMsoNormal>1 &lt;wsdl:description<o:p></o:p></p>

<p class=3DMsoNormal>2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
targetNamespace=3D&quot;http://tns.example.com/&quot;<o:p></o:p></p>

<p class=3DMsoNormal>3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
xmlns:tns=3D&quot;http://tns.example.com/&quot;<o:p></o:p></p>

<p class=3DMsoNormal>4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
xmlns:wsdl=3D&quot;http://www.w3.org/ns/wsdl&quot;<o:p></o:p></p>

<p class=3DMsoNormal>5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
xmlns:wsp=3D&quot;http://www.w3.org/ns/ws-policy&quot;<o:p></o:p></p>

<p class=3DMsoNormal>6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
xmlns:wsoma=3D&quot;http://w3.org/@@@/policy/optimizedmimeserialization&q=
uot;<o:p></o:p></p>

<p class=3DMsoNormal>7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
xmlns:wsu=3D&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss=
-wssecurity-utility-1.0.xsd&quot;
&gt;<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp; <o:p></o:p></p>

<p class=3DMsoNormal>8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;wsp:Policy
wsu:Id=3D&quot;MyPolicy&quot; &gt;<o:p></o:p></p>

<p =
class=3DMsoNormal>9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;wsoma:OptimizedMimeSerialization /&gt;<o:p></o:p></p>

<p =
class=3DMsoNormal>10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;!-- omitted assertions --&gt; <o:p></o:p></p>

<p class=3DMsoNormal>11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/wsp:Policy&gt;<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal>12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;!-- omitted
elements --&gt;<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal>13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;wsdl:binding name=3D&quot;MyBinding&quot; =
type=3D&quot;tns:MyInterface&quot;
&gt;<o:p></o:p></p>

<p =
class=3DMsoNormal>14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;wsp:PolicyReference<o:p></o:p></p>

<p =
class=3DMsoNormal>15&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
URI=3D&quot;#MyPolicy&quot;<o:p></o:p></p>

<p =
class=3DMsoNormal>16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
wsdl:required=3D&quot;true&quot; /&gt;<o:p></o:p></p>

<p =
class=3DMsoNormal>17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;!-- omitted elements --&gt;<o:p></o:p></p>

<p class=3DMsoNormal>18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/wsdl:binding&gt;<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>19 &lt;/wsdl:description&gt;<o:p></o:p></p>

<p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal>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. <o:p></o:p></p>

<p class=3DMsoNormal>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.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif"'>Jonathan
Marsh</span></b><span =
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#80AE81'> - </span><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><a
href=3D"http://www.wso2.com"><span =
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#80AE81'>http://www.wso2.com</span></a></span><span =
style=3D'font-size:
10.0pt;font-family:"Verdana","sans-serif";color:#80AE81'> - </span><span
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><a
href=3D"http://auburnmarshes.spaces.live.com"><span =
style=3D'font-size:10.0pt;
font-family:"Verdana","sans-serif";color:#80AE81'>http://auburnmarshes.sp=
aces.live.com</span></a><o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times =
New Roman","serif"'>&nbsp;</span><o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_000_007B_01C7B33A.2CC17720--