Re: wsdl primer example uses POST to check availability?

Hi Don,

Thanks for your comments. I have fixed the primer example. Now
opCheckAvailability uses uri style and GET (via soap-response mep at
binding level).

Please check out the updated primer at [1] and let me know if your
concern is not sufficiently addressed.

[1]
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20-primer.ht
ml

Best Regards,
Kevin

From: David Booth <dbooth@w3.org
<mailto:dbooth@w3.org?Subject=Re:%20wsdl%20primer%20example%20uses%20POS
T%20to%20check%20availability%3F&In-Reply-To=%3C1111502785.4399.1019.cam
el@nc6000.w3.org%3E&References=%3C1111502785.4399.1019.camel@nc6000.w3.o
rg%3E> > 
Date: Tue, 22 Mar 2005 09:46:25 -0500
To: Dan Connolly <connolly@w3.org
<mailto:connolly@w3.org?Subject=Re:%20wsdl%20primer%20example%20uses%20P
OST%20to%20check%20availability%3F&In-Reply-To=%3C1111502785.4399.1019.c
amel@nc6000.w3.org%3E&References=%3C1111502785.4399.1019.camel@nc6000.w3
.org%3E> > 
Cc: public-ws-desc-comments@w3.org
<mailto:public-ws-desc-comments@w3.org?Subject=Re:%20wsdl%20primer%20exa
mple%20uses%20POST%20to%20check%20availability%3F&In-Reply-To=%3C1111502
785.4399.1019.camel@nc6000.w3.org%3E&References=%3C1111502785.4399.1019.
camel@nc6000.w3.org%3E> , kevin.liu@sap.w3.org
<mailto:kevin.liu@sap.w3.org?Subject=Re:%20wsdl%20primer%20example%20use
s%20POST%20to%20check%20availability%3F&In-Reply-To=%3C1111502785.4399.1
019.camel@nc6000.w3.org%3E&References=%3C1111502785.4399.1019.camel@nc60
00.w3.org%3E>  
Message-Id: <1111502785.4399.1019.camel@nc6000.w3.org> 


Egad!  You're right.  We'll have to fix that.

Now that you mention it, we also forgot to set the wsdl:safe='true'
attribute on the operation:
http://www.w3.org/TR/2004/WD-wsdl20-20040803/#InterfaceOperation_safe_at
tribute



On Mon, 2005-03-21 at 20:25, Dan Connolly wrote:
> The opCheckAvailability operation takes a few scalar
> values and does a lookup, like the classic getStockQuote,
> right?
> 
> So it should be bound to GET using
>  style="http://www.w3.org/2004/08/wsdl/style/uri"
> 
> shouldn't it?
> 
> 
>   <binding name="reservationSOAPBinding" 
>           interface="tns:reservationInterface"
>           type="http://www.w3.org/2004/08/wsdl/soap12"
>
wsoap:protocol="http://www.w3.org/2003/05/soap/bindings/HTTP">
> 
> http://www.w3.org/TR/2004/WD-wsdl20-primer-20041221/
-- 

David Booth
W3C Fellow / Hewlett-Packard
 

Received on Tuesday, 26 April 2005 23:28:59 UTC