2002/ws/desc/wsdl20 wsdl20-bindings.xml,1.69,1.70

Update of /sources/public/2002/ws/desc/wsdl20
In directory homer:/tmp/cvs-serv7033

Modified Files:
	wsdl20-bindings.xml 
Log Message:
Added http:code on binding fault


Index: wsdl20-bindings.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-bindings.xml,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** wsdl20-bindings.xml	22 Jul 2004 09:38:54 -0000	1.69
--- wsdl20-bindings.xml	22 Jul 2004 10:05:38 -0000	1.70
***************
*** 1069,1073 ****
  
      &lt;fault ref="<emph>xs:QName</emph>"
!            <b>http:code</b>="<emph>xs:string</emph>"? &gt;
        &lt;documentation /&gt;?
      &lt;/fault&gt;*
--- 1069,1073 ----
  
      &lt;fault ref="<emph>xs:QName</emph>"
!            <b>http:code</b>="<emph>xs:int</emph>"? &gt;
        &lt;documentation /&gt;?
      &lt;/fault&gt;*
***************
*** 1670,1673 ****
--- 1670,1762 ----
          </div3>
        </div2>
+ 
+       <div2 id="http-fault-decl">
+         <head>Binding Faults</head>
+ 
+ 	<ednote>
+ 	  <name>HH</name>
+ 	  <edtext>This should be in the right style (as per my
+ 	  mismatch email).</edtext>
+ 	</ednote>
+ 
+         <div3 id="http-fault-decl-description">
+           <head>Description</head>
+ 
+           <p>For every Interface Fault component contained in an
+           Interface component, an HTTP error code MAY be defined. It
+ 	  represents the error code that will be used by the
+ 	  service in case the fault needs to be returned.</p>
+         </div3>
+ 
+         <div3 id="http-fault-decl-relate">
+           <head>Relationship to WSDL Component Model</head>
+ 
+           <p>The HTTP Fault binding adds the following
+           property to the WSDL component model (as defined in <bibref
+           ref="WSDL-PART1"/>):</p>
+ 
+           <ulist>
+             <item><p>{http error status code}, an integer representing a
+ 	    error Status-Code as defined by <bibref
+             ref="RFC2616"/>, to the Binding Fault component. The value
+             of this property identifies the error code that the
+ 	    service will use in case the fault is returned. If empty,
+ 	    no claim is made by the service.</p></item>
+           </ulist>
+         </div3>
+ 
+         <div3 id="soap-fault-decl-xml">
+           <head>XML Representation</head>
+ 
+           <eg xml:space="preserve">&lt;definitions &gt;
+   &lt;binding &gt;
+     &lt;fault ref="xs:QName"
+            <b>http:code</b>="xs:int" />
+     &lt;/fault&gt;*
+   &lt;/binding&gt;
+ &lt;/definitions&gt;
+ </eg>
+ 
+           <p>The XML representation for binding a SOAP Fault are two
+           &AII;s with the following Infoset properties: </p>
+ 
+           <ulist>
+             <item><p>http:code OPTIONAL &AII;</p>
+               <ulist>
+                 <item><p>A [local name] of <el>code</el></p></item>
+ 
+                 <item> <p>A [namespace name] of
+                 <attval>&wsdl-http-ns;</attval>
+                 </p></item>
+ 		<item><p>A type of <emph>wsdls:int</emph></p></item>
+               </ulist>
+             </item>
+           </ulist>
+         </div3>
+ 
+         <div3 id="http-fault-decl-mapping">
+           <head>Mapping Between Component Properties and XML
+           Representation</head>
+ 
+           <p>See <specref ref="tab_HTTP_Fault_Mapping"/>.</p>
+ 
+           <table border="1" id="tab_HTTP_Fault_Mapping">
+             <caption>Mapping between SOAP Fault Component Properties and XML
+   Representation</caption>
+             <tbody>
+               <tr>
+                 <th rowspan="1" colspan="1">Property</th>
+                 <th rowspan="1" colspan="1">Mapping</th>
+               </tr>
+               <tr>
+                 <td rowspan="1" colspan="1">{http error status code}</td>
+                 <td rowspan="1" colspan="1">The actual value of the <att>code</att>
+                   &AII;.</td>
+               </tr>
+             </tbody>
+           </table>
+         </div3>
+       </div2>
+ 
        <div2 id="_operation_styles">
          <head>Operation Styles</head>

Received on Thursday, 22 July 2004 06:05:59 UTC