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

I prefer the first version of the fourth bullet - it acts like a "default" in a "switch", and that's a good thing :-)
 
Tony Rogers
tony.rogers@ca.com <blocked::mailto:tony.rogers@ca.com> 
 

________________________________

From: www-ws-desc-request@w3.org [mailto:www-ws-desc-request@w3.org] On Behalf Of John Kaputin (gmail)
Sent: Thursday, 7 September 2006 8:34
To: www-ws-desc@w3.org
Cc: woden-dev@ws.apache.org; John Kaputin
Subject: Proposed text for HTTP method default "POST" (CR035/CR072)


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 Thursday, 7 September 2006 00:23:09 UTC