- From: Doug Davis via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 24 Mar 2009 01:25:22 +0000
- To: public-ws-resource-access-notifications@w3.org
Update of /w3ccvs/WWW/2002/ws/ra/edcopies In directory hutz:/tmp/cvs-serv12691 Modified Files: wst.html wst.xml Log Message: issue 6666 Index: wst.xml =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wst.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- wst.xml 23 Mar 2009 19:38:29 -0000 1.21 +++ wst.xml 24 Mar 2009 01:25:20 -0000 1.22 @@ -435,43 +435,19 @@ one-time snapshot of the representation of a resource.</p> <p>The Get request message MUST be of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Get - </wsa:Action> - <wsa:MessageID><emph>xs:anyURI</emph></wsa:MessageID> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body ...> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/Get + +<kw>[Body]</kw> <wst:Get ...> <emph>xs:any *</emph> - </wst:Get> - </s:Body> -</s:Envelope></eg> + </wst:Get></eg> </example> <p>The following describes additional, normative constraints on the outline listed above:</p> <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/Get</code>. If a - SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p> - </def> - </gitem> - - <gitem> - <label> - <code>/s:Envelope/s:Body/wst:Get</code> - </label> + <label> <kw>[Body]</kw>/wst:Get </label> <def> <p> This REQUIRED element MAY contain child elements that @@ -501,21 +477,13 @@ <p>If the resource accepts a Get request, it MUST reply with a response of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/GetResponse - </wsa:Action> - <wsa:RelatesTo><emph>xs:anyURI</emph></wsa:RelatesTo> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:GetResponse ...> - <emph>xs:any +</emph> - </wst:GetResponse> - </s:Body> -</s:Envelope> </eg> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/GetResponse + +<kw>[Body]</kw> + <wst:GetResponse ...> + <emph>xs:any +</emph> + </wst:GetResponse></eg> </example> <p> @@ -525,22 +493,7 @@ <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/GetResponse. If a SOAP - Action URI is also present in the underlying transport, its - value MUST convey the same value. - </p> - </def> - </gitem> - <gitem> - <label> - <code>/s:Envelope/s:Body/wst:GetResponse</code> - </label> + <label> <kw>[Body]</kw>/wst:GetResponse </label> <def> <p> This REQUIRED element MUST contain at least one child @@ -640,21 +593,13 @@ the resource.</p> <p>The Put request message MUST be of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Put - </wsa:Action> - <wsa:MessageID><emph>xs:anyURI</emph></wsa:MessageID> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body...> - <wst:Put ...> - <emph>xs:any +</emph> - >/wst:Put> - </s:Body> -</s:Envelope> </eg> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/Put + +<kw>[Body]</kw> + <wst:Put ...> + <emph>xs:any +</emph> + </wst:Put></eg> </example> <p> The following describes additional, normative constraints on the @@ -663,22 +608,7 @@ <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/Put. If a SOAP Action - URI is also present in the underlying transport, its value - MUST convey the same value. - </p> - </def> - </gitem> - <gitem> - <label> - <code>/s:Envelope/s:Body/Put</code> - </label> + <label> <kw>[Body]</kw>/wst:Put </label> <def> <p> This REQUIRED element MUST contain at least one child element - @@ -724,40 +654,17 @@ <p>If the resource accepts a Put request and performs the requested update, it MUST reply with a response of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/PutResponse - </wsa:Action> - <wsa:RelatesTo><emph>xs:anyURI</emph></wsa:RelatesTo> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:PutResponse ...> - <emph>xs:any ?</emph> - </wst:PutResponse> - </s:Body> -</s:Envelope> </eg> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/PutResponse + +<kw>[Body]</kw> + <wst:PutResponse ...> + <emph>xs:any ?</emph> + </wst:PutResponse></eg> </example> <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/PutResponse. If a SOAP - Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p> - </def> - </gitem> - <gitem> - <label> - <code>/s:Envelope/s:Body/PutResponse</code> - </label> + <label> <kw>[Body]</kw>/wst:PutResponse </label> <def> <p> This REQUIRED element MUST contain at least one child element @@ -877,43 +784,19 @@ used.</p> <p>The Delete request message MUST be of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Delete - </wsa:Action> - <wsa:MessageID><emph>xs:anyURI</emph></wsa:MessageID> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:Delete ...> - <emph>xs:any *</emph> - </wst:Delete> - </s:Body> -</s:Envelope> </eg> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/Delete + +<kw>[Body]</kw> + <wst:Delete ...> + <emph>xs:any *</emph> + </wst:Delete></eg> </example> <p>The following describes additional, normative constraints on the outline listed above:</p> <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/Delete</code>. If - a SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p> - </def> - </gitem> - - <gitem> - <label> - <code>/s:Envelope/s:Body/wst:Delete</code> - </label> + <label> <kw>[Body]</kw>/wst:Delete </label> <def> <p> This REQUIRED element MAY contain child elements that @@ -935,41 +818,17 @@ <p>If the resource accepts a Delete request, it MUST reply with a response of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/DeleteResponse - </wsa:Action> - <wsa:RelatesTo><emph>xs:anyURI</emph></wsa:RelatesTo> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:DeleteResponse ...> - <emph>xs:any ?</emph> - </wst:DeleteResponse> - </s:Body> -</s:Envelope> </eg> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/DeleteResponse + +<kw>[Body]</kw> + <wst:DeleteResponse ...> + <emph>xs:any ?</emph> + </wst:DeleteResponse></eg> </example> <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/DeleteResponse</code>. - If a SOAP Action URI is also present in the underlying - transport, its value MUST convey the same value. - </p> - </def> - </gitem> - - <gitem> - <label> - <code>/s:Envelope/s:Body/wst:DeleteResponse</code> - </label> + <label> <kw>[Body]</kw>/wst:DeleteResponse </label> <def> <p> This REQUIRED element MAY contain a child element that @@ -1064,21 +923,13 @@ message.</p> <p>The Create request message MUST be of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Create - </wsa:Action> - <wsa:MessageID><emph>xs:anyURI</emph></wsa:MessageID> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:Create ...> - <emph>xs:any *</emph> - </wst:Create> - </s:Body> -</s:Envelope> </eg> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/Create + +<kw>[Body]</kw> + <wst:Create ...> + <emph>xs:any *</emph> + </wst:Create></eg> </example> <p> The following describes additional, normative constraints on the @@ -1087,22 +938,7 @@ <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/Create</code>. If - a SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p> - </def> - </gitem> - <gitem> - <label> - <code>/s:Envelope/s:Body/Create</code> - </label> + <label> <kw>[Body]</kw>/wst:Create </label> <def> <p> If this REQUIRED element contains children then the first child @@ -1138,42 +974,18 @@ <p>If the resource factory accepts a Create request, it MUST reply with a response of the following form:</p> <example> - <eg><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/CreateResponse - </wsa:Action> - <wsa:RelatesTo><emph>xs:anyURI</emph></wsa:RelatesTo> - <wsa:To><emph>xs:anyURI</emph></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:CreateResponse ...> - <wst:ResourceCreated><emph>endpoint-reference</emph></wst:ResourceCreated> - <emph>xs:any ?</emph> - </wst:CreateResponse> - </s:Body> -</s:Envelope></eg> + <eg><kw>[Action]</kw> + http://www.w3.org/2009/02/ws-tra/CreateResponse + +<kw>[Body]</kw> + <wst:CreateResponse ...> + <wst:ResourceCreated><emph>endpoint-reference</emph></wst:ResourceCreated> + <emph>xs:any ?</emph> + </wst:CreateResponse></eg> </example> <glist> <gitem> - <label> - <code>/s:Envelope/s:Header/wsa:Action</code> - </label> - <def> - <p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/CreateResponse. If a - SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p> - </def> - </gitem> - - <gitem> - <label> - <code>/s:Envelope/wst:CreateResponse</code> - </label> + <label> <kw>[Body]</kw>/wst:CreateResponse </label> <def> <p> This REQUIRED element MUST contain, at a minimum, @@ -1232,9 +1044,7 @@ </gitem> <gitem> - <label> - <code>/s:Envelope/wst:CreateResponse/wst:ResourceCreated</code> - </label> + <label> <kw>[Body]</kw>/wst:CreateResponse/wst:ResourceCreated </label> <def> <p> This required element MUST contain a resource reference for the Index: wst.html =================================================================== RCS file: /w3ccvs/WWW/2002/ws/ra/edcopies/wst.html,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- wst.html 23 Mar 2009 19:38:29 -0000 1.25 +++ wst.html 24 Mar 2009 01:25:20 -0000 1.26 @@ -207,27 +207,14 @@ <a href="#AddrCore">[WS-Addressing]</a>. </p><div class="div2"> <h3><a name="Get" id="Get"/>3.1 Get</h3><p>This specification defines one Web service operation (Get) for fetching a -one-time snapshot of the representation of a resource.</p><p>The Get request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Get - </wsa:Action> - <wsa:MessageID><em>xs:anyURI</em></wsa:MessageID> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body ...> +one-time snapshot of the representation of a resource.</p><p>The Get request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/Get + +<b>[Body]</b> <wst:Get ...> <em>xs:any *</em> - </wst:Get> - </s:Body> -</s:Envelope></pre></div></div><p>The following describes additional, normative constraints on the outline -listed above:</p><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/Get</code>. If a - SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/s:Body/wst:Get</code></dt><dd><p> + </wst:Get></pre></div></div><p>The following describes additional, normative constraints on the outline +listed above:</p><dl><dt class="label"><b>[Body]</b>/wst:Get </dt><dd><p> This REQUIRED element MAY contain child elements that can be used for extensibility purposes. </p></dd></dl><p>A Get request MUST be targeted at the resource whose representation is @@ -246,29 +233,16 @@ codes defined in WS-Addressing (e.g., wsa:ActionNotSupported). Other components of the outline above are not further constrained by this specification.</p><p>If the resource accepts a Get request, it MUST reply with a response of -the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/GetResponse - </wsa:Action> - <wsa:RelatesTo><em>xs:anyURI</em></wsa:RelatesTo> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:GetResponse ...> - <em>xs:any +</em> - </wst:GetResponse> - </s:Body> -</s:Envelope> </pre></div></div><p> +the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/GetResponse + +<b>[Body]</b> + <wst:GetResponse ...> + <em>xs:any +</em> + </wst:GetResponse></pre></div></div><p> The following describes additional, normative constraints on the outline listed above: - </p><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/GetResponse. If a SOAP - Action URI is also present in the underlying transport, its - value MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/s:Body/wst:GetResponse</code></dt><dd><p> + </p><dl><dt class="label"><b>[Body]</b>/wst:GetResponse </dt><dd><p> This REQUIRED element MUST contain at least one child element - the representation of the resource. The presence of subsequent child elements is service-specific and @@ -342,29 +316,16 @@ resource by providing a replacement representation. A resource MAY accept updates that provide different XML representations than that returned by the resource; in such a case, the semantics of the update operation is defined by -the resource.</p><p>The Put request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Put - </wsa:Action> - <wsa:MessageID><em>xs:anyURI</em></wsa:MessageID> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body...> - <wst:Put ...> - <em>xs:any +</em> - >/wst:Put> - </s:Body> -</s:Envelope> </pre></div></div><p> +the resource.</p><p>The Put request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/Put + +<b>[Body]</b> + <wst:Put ...> + <em>xs:any +</em> + </wst:Put></pre></div></div><p> The following describes additional, normative constraints on the outline listed above: - </p><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/Put. If a SOAP Action - URI is also present in the underlying transport, its value - MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/s:Body/Put</code></dt><dd><p> + </p><dl><dt class="label"><b>[Body]</b>/wst:Put </dt><dd><p> This REQUIRED element MUST contain at least one child element - the representation to be used for the update. All other children SHOULD be ignored by the service. @@ -394,26 +355,13 @@ further constrained by this specification. </p><p>A successful Put operation updates the current representation associated with the targeted resource.</p><p>If the resource accepts a Put request and performs the requested update, -it MUST reply with a response of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/PutResponse - </wsa:Action> - <wsa:RelatesTo><em>xs:anyURI</em></wsa:RelatesTo> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:PutResponse ...> - <em>xs:any ?</em> - </wst:PutResponse> - </s:Body> -</s:Envelope> </pre></div></div><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/PutResponse. If a SOAP - Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/s:Body/PutResponse</code></dt><dd><p> +it MUST reply with a response of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/PutResponse + +<b>[Body]</b> + <wst:PutResponse ...> + <em>xs:any ?</em> + </wst:PutResponse></pre></div></div><dl><dt class="label"><b>[Body]</b>/wst:PutResponse </dt><dd><p> This REQUIRED element MUST contain at least one child element (the current representation of the resource) if the updated representation differs from the representation sent in the @@ -506,27 +454,14 @@ response. Since the response may not be sent to the original sender, extension specifications should consider adding a corresponding SOAP header value in the response to signal to the receiver that the extension is being -used.</p><p>The Delete request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Delete - </wsa:Action> - <wsa:MessageID><em>xs:anyURI</em></wsa:MessageID> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:Delete ...> - <em>xs:any *</em> - </wst:Delete> - </s:Body> -</s:Envelope> </pre></div></div><p>The following describes additional, normative constraints on the outline -listed above:</p><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/Delete</code>. If - a SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/s:Body/wst:Delete</code></dt><dd><p> +used.</p><p>The Delete request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/Delete + +<b>[Body]</b> + <wst:Delete ...> + <em>xs:any *</em> + </wst:Delete></pre></div></div><p>The following describes additional, normative constraints on the outline +listed above:</p><dl><dt class="label"><b>[Body]</b>/wst:Delete </dt><dd><p> This REQUIRED element MAY contain child elements that can be used for extensibility purposes. </p></dd></dl><p>A Delete request MUST be targeted at the resource to be deleted as @@ -536,26 +471,13 @@ Other components of the outline above are not further constrained by this specification.</p><p>A successful Delete operation invalidates the current representation associated with the targeted resource.</p><p>If the resource accepts a Delete request, it MUST reply with a response of -the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/DeleteResponse - </wsa:Action> - <wsa:RelatesTo><em>xs:anyURI</em></wsa:RelatesTo> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:DeleteResponse ...> - <em>xs:any ?</em> - </wst:DeleteResponse> - </s:Body> -</s:Envelope> </pre></div></div><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/DeleteResponse</code>. - If a SOAP Action URI is also present in the underlying - transport, its value MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/s:Body/wst:DeleteResponse</code></dt><dd><p> +the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/DeleteResponse + +<b>[Body]</b> + <wst:DeleteResponse ...> + <em>xs:any ?</em> + </wst:DeleteResponse></pre></div></div><dl><dt class="label"><b>[Body]</b>/wst:DeleteResponse </dt><dd><p> This REQUIRED element MAY contain a child element that can be used for extensibility purposes. </p></dd></dl><p> @@ -624,29 +546,16 @@ Create request will allocate a new resource that is initialized from the presented representation. The new resource will be assigned a service-determined endpoint reference that is returned in the response - message.</p><p>The Create request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/Create - </wsa:Action> - <wsa:MessageID><em>xs:anyURI</em></wsa:MessageID> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:Create ...> - <em>xs:any *</em> - </wst:Create> - </s:Body> -</s:Envelope> </pre></div></div><p> + message.</p><p>The Create request message MUST be of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/Create + +<b>[Body]</b> + <wst:Create ...> + <em>xs:any *</em> + </wst:Create></pre></div></div><p> The following describes additional, normative constraints on the outline listed above: - </p><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - <code>http://www.w3.org/2009/02/ws-tra/Create</code>. If - a SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/s:Body/Create</code></dt><dd><p> + </p><dl><dt class="label"><b>[Body]</b>/wst:Create </dt><dd><p> If this REQUIRED element contains children then the first child MUST be the literal resource representation, a representation of the constructor for the resource, or other instructions for @@ -669,27 +578,14 @@ presented representation is invalid for the target resource. See <a href="#Faults"><b>5 Faults</b></a>.</p><p>Other components of the outline above are not further constrained by this specification.</p><p>If the resource factory accepts a Create request, it MUST reply with a - response of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><s:Envelope ...> - <s:Header ...> - <wsa:Action> - http://www.w3.org/2009/02/ws-tra/CreateResponse - </wsa:Action> - <wsa:RelatesTo><em>xs:anyURI</em></wsa:RelatesTo> - <wsa:To><em>xs:anyURI</em></wsa:To> - ... - </s:Header> - <s:Body ...> - <wst:CreateResponse ...> - <wst:ResourceCreated><em>endpoint-reference</em></wst:ResourceCreated> - <em>xs:any ?</em> - </wst:CreateResponse> - </s:Body> -</s:Envelope></pre></div></div><dl><dt class="label"><code>/s:Envelope/s:Header/wsa:Action</code></dt><dd><p> - This required element MUST contain the value - http://www.w3.org/2009/02/ws-tra/CreateResponse. If a - SOAP Action URI is also present in the underlying transport, - its value MUST convey the same value. - </p></dd><dt class="label"><code>/s:Envelope/wst:CreateResponse</code></dt><dd><p> + response of the following form:</p><div class="exampleOuter"><div class="exampleInner"><pre><b>[Action]</b> + http://www.w3.org/2009/02/ws-tra/CreateResponse + +<b>[Body]</b> + <wst:CreateResponse ...> + <wst:ResourceCreated><em>endpoint-reference</em></wst:ResourceCreated> + <em>xs:any ?</em> + </wst:CreateResponse></pre></div></div><dl><dt class="label"><b>[Body]</b>/wst:CreateResponse </dt><dd><p> This REQUIRED element MUST contain, at a minimum, a resource reference (wst:ResourceCreated element) to the newly created resource. @@ -735,7 +631,7 @@ consider adding a corresponding SOAP header value in the response to signal to the receiver that the extension is being used. - </p></dd><dt class="label"><code>/s:Envelope/wst:CreateResponse/wst:ResourceCreated</code></dt><dd><p> + </p></dd><dt class="label"><b>[Body]</b>/wst:CreateResponse/wst:ResourceCreated </dt><dd><p> This required element MUST contain a resource reference for the newly created resource. This resource reference, represented as an endpoint reference as defined in WS-Addressing, MUST
Received on Tuesday, 24 March 2009 01:25:33 UTC