W3C home > Mailing lists > Public > www-ws-desc@w3.org > March 2004

Strawman SOAP 1.2 Binding pseudo-schema

From: Jean-Jacques Moreau <jean-jacques.moreau@crf.canon.fr>
Date: Thu, 25 Mar 2004 19:04:42 +0100
Message-ID: <40631F3A.9080804@crf.canon.fr>
To: WSD Public <www-ws-desc@w3.org>
Cc: Herve Ruellan <herve.ruellan@crf.canon.fr>

As per my action item today, here is the pseudo-schema that I have been 
working on recently for the SOAP 1.2 binding. This is only an indication 
of what we might want to support, and is of course open to feedback and 
suggestions.

The essential new additions, compared to the SOAP 1.1 binding, are:

1) @mep, to indicate the SOAP 1.2 MEP used. It should be compatible with 
the WSDL @pattern in use.

2) @webMethod, to set the SOAP 1.2 WebMethod feature (we may wish to use 
a WSDL feature syntax instead).

3) @mediaType, to later cater for MTOM/ZOP.

4) @role (was @actor in SOAP 1.1)

5) @relay, the SOAP 1.2 attribute that governs header forwarding.

6) @reinsert, the MTOM attribute that governs header reinsertion, as per 
yesterday's XMLP telcon.

For some reason, I missed the <module/> syntax, and faults may not be 
uptodate with Part 1. Both are bugs that should be fixed. I may have 
missed a number of obvious things as well.

JJ.

--
<definitions >
   <binding>
     <wsoap:binding binding="xsd:anyURI"
                    mepDefault="xsd:anyURI"?
                    webMethodDefault="xsd:string"?
                    mediaTypeDefault="xsd:string"? />
     <feature .../>*
     <property .../>*
     <wsoap:faultDefault name="xsd:NCName">
       <wsoap:code>xsd:QName</wsoap:code>
     </wsoap:faultDefault/>?
     <operation>
       <wsoap:operation mep="xsd:anyURI"?
                        webMethod="xsd:string"?
                        action="xsd:anyURI"?
                        mediaType="xsd:anyURI"? /> ?
       <feature .../>*
       <property .../>*
       <(input|output)>
         <wsoap:header element="xs:QName"
                       mustUnderstand="xsd:boolean"?
                       role="xsd:anyURI"?
                       relay="xsd:boolean"?
                       reinsert="xsd:boolean"? />*
         <feature .../>*
         <property .../>*
       </(input|output)>*
       <(infault|outfault) name="xs:NCName"
                           messageReferences="xs:NCName ...">
         <wsoap:code>
           <wsoap:value>xs:QName</wsoap:value>
           <wsoap:subcode>
             <wsoap:value>xs:QName</wsoap:value>
             <wsoap:subcode>...</wsoap:subcode>
           </wsoap:subcode>
         </wsoap:code>
       </(input|outfault)>*
     </operation>*
   </binding>

   <service>
     <endpoint>
       <wsoap:address location="xsd:anyURI" />
     </endpoint>
   </service>
</definitions>
Received on Thursday, 25 March 2004 13:06:35 GMT

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