- From: Hugo Haas via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 08 Apr 2005 11:44:22 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/wsdl20
In directory homer:/tmp/cvs-serv5714
Modified Files:
wsdl20-adjuncts.xml
Log Message:
LC47: added whttp:reasonPharse
Added missing REQUIRED/OPTIONAL on certain HTTP binding properties
Index: wsdl20-adjuncts.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-adjuncts.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** wsdl20-adjuncts.xml 8 Apr 2005 11:18:49 -0000 1.25
--- wsdl20-adjuncts.xml 8 Apr 2005 11:44:20 -0000 1.26
***************
*** 2317,2321 ****
<fault ref="<emph>xs:QName</emph>"
! <b>whttp:code</b>="<emph>xs:int</emph>"? >
<documentation />?
<<b>whttp:header</b> element="<emph>xs:QName</emph>" required="xs:boolean"?>
--- 2317,2322 ----
<fault ref="<emph>xs:QName</emph>"
! <b>whttp:code</b>="<emph>xs:int</emph>"?
! <b>whttp:reasonPhrase</b>="xs:string"? >
<documentation />?
<<b>whttp:header</b> element="<emph>xs:QName</emph>" required="xs:boolean"?>
***************
*** 2774,2778 ****
<ulist>
<item>
! <p>{http location}, a <emph>xs:anyURI</emph>. This
URI is combined with the base URI specified in the
&endpoint-address-p; property of the endpoint component to
--- 2775,2779 ----
<ulist>
<item>
! <p>{http location}, REQUIRED. A <emph>xs:anyURI</emph>. This
URI is combined with the base URI specified in the
&endpoint-address-p; property of the endpoint component to
***************
*** 2795,2799 ****
</item>
<item>
! <p>{http method}, a <emph>xs:string</emph> indicating, if present, the
value for the HTTP Request Method for this specific operation. Otherwise,
the default HTTP method as defined in <specref ref="http-default-method-decl"/> applies.
--- 2796,2800 ----
</item>
<item>
! <p>{http method}, REQUIRED. A <emph>xs:string</emph> indicating, if present, the
value for the HTTP Request Method for this specific operation. Otherwise,
the default HTTP method as defined in <specref ref="http-default-method-decl"/> applies.
***************
*** 2801,2805 ****
</item>
<item>
! <p>{http input serialization}, a <emph>xs:string</emph> indicating, if present, the
value for the serialization of the HTTP Request message for this specific operation. Its value MUST be the name of a IANA media type
token. If not present, the default input serialization associated
--- 2802,2806 ----
</item>
<item>
! <p>{http input serialization}, REQUIRED. A <emph>xs:string</emph> indicating, if present, the
value for the serialization of the HTTP Request message for this specific operation. Its value MUST be the name of a IANA media type
token. If not present, the default input serialization associated
***************
*** 2808,2812 ****
</item>
<item>
! <p>{http output serialization}, a <emph>xs:string</emph> indicating, if present, the
value for the serialization of the HTTP Response message for this specific operation. Its value MUST be the name of a IANA media type
token. If not present, the default output serialization associated with the {http method} property applies, as specified in <specref ref="_http_binding_default_rules"/>.
--- 2809,2813 ----
</item>
<item>
! <p>{http output serialization}, REQUIRED. A <emph>xs:string</emph> indicating, if present, the
value for the serialization of the HTTP Response message for this specific operation. Its value MUST be the name of a IANA media type
token. If not present, the default output serialization associated with the {http method} property applies, as specified in <specref ref="_http_binding_default_rules"/>.
***************
*** 2814,2818 ****
</item>
<item>
! <p>{http fault serialization}, a <emph>xs:string</emph> indicating
the value for the serialization of the HTTP Response
message for this specific operation in case a fault is
--- 2815,2819 ----
</item>
<item>
! <p>{http fault serialization}, REQUIRED. A <emph>xs:string</emph> indicating
the value for the serialization of the HTTP Response
message for this specific operation in case a fault is
***************
*** 3196,3200 ****
<div2 id="http-fault-decl">
! <head>Specifying HTTP Error Codes for Faults</head>
<div3 id="http-fault-decl-description">
--- 3197,3201 ----
<div2 id="http-fault-decl">
! <head>Specifying HTTP Error Code and Reason for Faults</head>
<div3 id="http-fault-decl-description">
***************
*** 3202,3208 ****
<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>
<p>The fault definition SHOULD NOT go against the definition
--- 3203,3210 ----
<p>For every Interface Fault component contained in an
! Interface component, an HTTP error code and error reason MAY
! be defined. They represents the error code and reason phrase
! that will be used by the service in case the fault needs to
! be returned.</p>
<p>The fault definition SHOULD NOT go against the definition
***************
*** 3219,3223 ****
<ulist>
! <item><p>{http error status code}, a <emph>xs:int</emph> representing a
error Status-Code as defined by <bibref
ref="RFC2616"/>, to the Binding Fault component. The value
--- 3221,3225 ----
<ulist>
! <item><p>{http error status code}, OPTIONAL. A <emph>xs:int</emph> representing an
error Status-Code as defined by <bibref
ref="RFC2616"/>, to the Binding Fault component. The value
***************
*** 3225,3228 ****
--- 3227,3238 ----
service will use in case the fault is returned. If empty,
no claim is made by the service.</p></item>
+ <item><p>{http error reason phrase}, OPTIONAL. A
+ <emph>xs:string</emph> representing an error Reason-Phrase
+ as defined by <bibref ref="RFC2616"/>, to the Binding
+ Fault component. The value of this property identifies the
+ Reason-Phrase that the service will use in case the fault
+ is returned. If empty, no claim is made by the
+ service.</p>
+ </item>
</ulist>
</div3>
***************
*** 3234,3238 ****
<binding >
<fault ref="xs:QName"
! <b>whttp:code</b>="xs:int" />
</fault>*
</binding>
--- 3244,3249 ----
<binding >
<fault ref="xs:QName"
! <b>whttp:code</b>="xs:int"?
! <b>whttp:reasonPhrase</b>="xs:string"? />
</fault>*
</binding>
***************
*** 3244,3248 ****
<ulist>
! <item><p>whttp:code OPTIONAL &AII;</p>
<ulist>
<item><p>A [local name] of <att>code</att></p></item>
--- 3255,3259 ----
<ulist>
! <item><p><att>whttp:code</att> OPTIONAL &AII;</p>
<ulist>
<item><p>A [local name] of <att>code</att></p></item>
***************
*** 3254,3257 ****
--- 3265,3278 ----
</ulist>
</item>
+ <item><p><att>whttp:reasonPhrase</att> OPTIONAL &AII;</p>
+ <ulist>
+ <item><p>A [local name] of <att>reasonPhrase</att></p></item>
+
+ <item> <p>A [namespace name] of
+ <attval>&wsdl-http-ns;</attval>
+ </p></item>
+ <item><p>A type of <emph>xs:string</emph></p></item>
+ </ulist>
+ </item>
</ulist>
</div3>
***************
*** 3275,3279 ****
<td rowspan="1" colspan="1">{http error status code}</td>
<td rowspan="1" colspan="1">The actual value of the <att>whttp:code</att>
! &AII;.</td>
</tr>
</tbody>
--- 3296,3305 ----
<td rowspan="1" colspan="1">{http error status code}</td>
<td rowspan="1" colspan="1">The actual value of the <att>whttp:code</att>
! &AII;, if present.</td>
! </tr>
! <tr>
! <td rowspan="1" colspan="1">{http error reason phrase}</td>
! <td rowspan="1" colspan="1">The actual value of the <att>whttp:reasonPhrase</att>
! &AII;, if present.</td>
</tr>
</tbody>
***************
*** 4240,4243 ****
--- 4266,4276 ----
<td>HH</td>
<td><loc
+ href='http://www.w3.org/2002/ws/desc/4/lc-issues/issues.html#LC47'>LC47</loc>:
+ added <att>whttp:reasonPhrase</att></td>
+ </tr>
+ <tr>
+ <td>20050408</td>
+ <td>HH</td>
+ <td><loc
href='http://www.w3.org/2002/ws/desc/4/lc-issues/issues.html#LC76d'>LC76d</loc>:
added <att>whttp:header</att></td>
Received on Friday, 8 April 2005 11:44:22 UTC