W3C home > Mailing lists > Public > www-ws-desc@w3.org > September 2006

Proposed text for HTTP method default "POST" (CR035/CR072)

From: John Kaputin (gmail) <jakaputin@gmail.com>
Date: Wed, 6 Sep 2006 23:34:03 +0100
Message-ID: <4c2ae8f80609061534k6846f687qef0749bf54db2ffe@mail.gmail.com>
To: www-ws-desc@w3.org
Cc: woden-dev@ws.apache.org, "John Kaputin" <KAPUTIN@uk.ibm.com>
To close out CR035 and CR072, I would like to propose some text for section
6.3.1 in Part 2 to specify that HTTP method should default to POST when the
other conditions fail. CR072 has a couple of other points but I think these
are already closed with CR050.

<begin>
6.3.1 HTTP Method Selection

When formulating the HTTP message to be transmitted, the HTTP request method
used MUST be selected using one of the
following:<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20-adjuncts.html?content-type=text/html;%20charset=utf-8#HTTPBinding-5056-summary>

   -

   For a given Interface
Operation<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20.html#component-InterfaceOperation>component,
if there is a Binding
   Operation<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20.html#component-BindingOperation>component
whose {interface
   operation<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20.html#property-BindingOperation.interfaceoperation>}
   property matches the component in question and its {http
method<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20-adjuncts.html#property-BindingOperation.httpmethod>}
   property has a value, then the value of the {http
method<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20-adjuncts.html#property-BindingOperation.httpmethod>}
   property.
   -

   Otherwise, the value of the
Binding<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20.html#component-Binding>component's
{http
   method default<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20-adjuncts.html#property-Binding.httpmethoddefault>},
   if any.
   -

   Otherwise, if a
{safety<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20-adjuncts.html#property-InterfaceOperation.safety>}
   property as defined in *3.1 Operation
safety*<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20-adjuncts.html?content-type=text/html;%20charset=utf-8#safety>is
present on the bound Interface
   Operation<http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/wsdl20/wsdl20.html#component-InterfaceOperation>component
and has a value of "true", the value "GET".
   - Otherwise "POST"

 <end>

I have simply added the fourth bullet point. If necessary, this could be
elaborated further as:


   - Otherwise, if {safety} is absent on the bound Interface Operation or
   has a value of "false", the value "POST".


regards,
John Kaputin
(Apache Woden)
Received on Wednesday, 6 September 2006 22:34:24 GMT

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