I' m not sure what is the exact problem you have here, basically WSDL 2.0
Interface is used to describe abstract interface of a service (contract)
and it's common for both SOAP and REST. WSDL 2.0 Binding component describe
how to access above interface using a concrete protocol like SOAP , HTTP
etc.

Following link [1] describe WSDL 2.0  SOAP 1.1 binding that can be used to
provide required details in order to access the service using SAOP 1.1
protocol , WSDL 2.0   HTTP binding [2] describe details required to  access
the service using HTTP  protocol  ( REST ) , in WSDL level this is the
mechanism to describe REST and SOAP services,  I guess this make sense.


BTW each WS engine use their own techniques to distinguish SOAP and REST
invocations at run time , As an example Axis2 basically assume absence of
SAOP structure in a incoming message as a REST invocation. But this is not
relevant to WSDL description .

[1] - http://www.w3.org/TR/2007/NOTE-wsdl20-soap11-binding-20070626/
[2] - http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626/#http-binding

Thanks,

On Sun, May 2, 2010 at 9:34 AM, Demetris <demet...@ece.neu.edu> wrote:

>
> Hi all,
>
>   what is (or are) the particular and specific difference between a SOAP
> serv WSDL 2.0
> description and a REST serv WSDL 2.0 description that will make a parser
> (or a flag
> setter) distinguish between the two? Would the existance of the keyword
> 'soap' in the former
> case be such an indisputable evidence? The ports may be?
>
>
> Thanks
>
>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscr...@ws.apache.org
> For additional commands, e-mail: woden-dev-h...@ws.apache.org
>
>


-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Reply via email to