You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by robert <ro...@gliesian.com> on 2011/02/24 15:17:20 UTC

WADLs

The Web Application Description Language (WADL) is new to me.

Does CXF support WADLs in any way, relative to the REST style?

Also, what would be more applicable, WADLs or WSDLs in support of 
JMS/RESTful services?

Thanks!


Re: WADLs

Posted by Bill Burke <bb...@redhat.com>.
I think you'll find that the reliability guarantees just don't exist in 
ActiveMQ's REST interface and that it is very feature-light.  (FYI, not 
saying ActiveMQ can't guarantee reliability, just that its REST 
interface is kinda weak).


On 2/24/11 10:27 AM, robert wrote:
> I'm looking at the ActiveMQ REST Interface documentation now...
>
> http://activemq.apache.org/rest.html
>
> Thanks!
> Robert
>
> On Thu, 24 Feb 2011 15:19:19 +0000, Sergey Beryozkin
> <sb...@gmail.com>  wrote:
>>>> Check out HornetQ's REST interface:
>>>>
>>>> http://jboss.org/hornetq/rest
>>>>
>>> This is of course a fine effort, but it's off-topic for the CXF dev list :-)
>>
>> though supporting the interface you've built for HornetQ might be an
>> interesting option - but I guess it would be more of interest to the
>> ActiveMQ team
>>
>>>
>>> thanks, Sergey
>>>
>>>> --
>>>> Bill Burke
>>>> JBoss, a division of Red Hat
>>>> http://bill.burkecentral.com
>>>>
>>>
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

Re: WADLs

Posted by robert <ro...@gliesian.com>.
I'm looking at the ActiveMQ REST Interface documentation now...

http://activemq.apache.org/rest.html

Thanks!
Robert

On Thu, 24 Feb 2011 15:19:19 +0000, Sergey Beryozkin
<sb...@gmail.com> wrote:
>>> Check out HornetQ's REST interface:
>>>
>>> http://jboss.org/hornetq/rest
>>>
>> This is of course a fine effort, but it's off-topic for the CXF dev list :-)
> 
> though supporting the interface you've built for HornetQ might be an
> interesting option - but I guess it would be more of interest to the
> ActiveMQ team
> 
>>
>> thanks, Sergey
>>
>>> --
>>> Bill Burke
>>> JBoss, a division of Red Hat
>>> http://bill.burkecentral.com
>>>
>>


Re: WADLs

Posted by Sergey Beryozkin <sb...@gmail.com>.
>> Check out HornetQ's REST interface:
>>
>> http://jboss.org/hornetq/rest
>>
> This is of course a fine effort, but it's off-topic for the CXF dev list :-)

though supporting the interface you've built for HornetQ might be an
interesting option - but I guess it would be more of interest to the
ActiveMQ team

>
> thanks, Sergey
>
>> --
>> Bill Burke
>> JBoss, a division of Red Hat
>> http://bill.burkecentral.com
>>
>

Re: WADLs

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Bill

On Thu, Feb 24, 2011 at 2:45 PM, Bill Burke <bb...@redhat.com> wrote:
>
>
> On 2/24/11 9:17 AM, robert wrote:
>>
>> Also, what would be more applicable, WADLs or WSDLs in support of
>> JMS/RESTful services?
>>
>
> Check out HornetQ's REST interface:
>
> http://jboss.org/hornetq/rest
>
This is of course a fine effort, but it's off-topic for the CXF dev list :-)

thanks, Sergey

> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>

Re: WADLs

Posted by Bill Burke <bb...@redhat.com>.

On 2/24/11 9:17 AM, robert wrote:
> Also, what would be more applicable, WADLs or WSDLs in support of
> JMS/RESTful services?
>

Check out HornetQ's REST interface:

http://jboss.org/hornetq/rest

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com

Re: WADLs

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi

On Thu, Feb 24, 2011 at 2:37 PM, robert <ro...@gliesian.com> wrote:
>
> Thanks for the info... I'm still trying to figure some things out
> though...
>
> Looks like WSDLs for REST are supported with WSDL 2.0:
> http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/.
>
> So with REST... should the target be in using WSDLs (i.e. 2.0), WADLs,
> or neither... or it depends?
>

CXF supports WADL and we plan to enhance the WADL support for it to be
applied to the server side development.

> And CXF doesn't support WSDL 2.0, correct?

No, it does not. However, WADL is superior to WSDL 2.0 RESTful
descriptions, IMHO. If you do prefer WSDL-first for developing SOAP
services and thus also want to use the same document for generating
the RESTful annotations then applying CXF JAX-RS user models can
easily compensate for the fact we do not do WSDL 2.0

cheers, Sergey

>
> -- Robert
>
> On Thu, 24 Feb 2011 09:24:18 -0500, Glen Mazza <gm...@talend.com>
> wrote:
>> You can at least view the WADL using ?_wadl at the end of the service
>> string in a browser.
>>
>> Unsure, but JMS/REST would seem to be a contradiction, because REST
>> is based on the HTTP transport.
>>
>> Glen
>>
>> On 2/24/2011 9:17 AM, robert wrote:
>>> The Web Application Description Language (WADL) is new to me.
>>>
>>> Does CXF support WADLs in any way, relative to the REST style?
>>>
>>> Also, what would be more applicable, WADLs or WSDLs in support of
>>> JMS/RESTful services?
>>>
>>> Thanks!
>>>
>
>

Re: WADLs

Posted by robert <ro...@gliesian.com>.
Thanks for the info... I'm still trying to figure some things out
though...

Looks like WSDLs for REST are supported with WSDL 2.0:
http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/.

So with REST... should the target be in using WSDLs (i.e. 2.0), WADLs,
or neither... or it depends?

And CXF doesn't support WSDL 2.0, correct?

-- Robert

On Thu, 24 Feb 2011 09:24:18 -0500, Glen Mazza <gm...@talend.com>
wrote:
> You can at least view the WADL using ?_wadl at the end of the service
> string in a browser.
> 
> Unsure, but JMS/REST would seem to be a contradiction, because REST
> is based on the HTTP transport.
> 
> Glen
> 
> On 2/24/2011 9:17 AM, robert wrote:
>> The Web Application Description Language (WADL) is new to me.
>>
>> Does CXF support WADLs in any way, relative to the REST style?
>>
>> Also, what would be more applicable, WADLs or WSDLs in support of
>> JMS/RESTful services?
>>
>> Thanks!
>>


Re: WADLs

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Demetris

On Mon, Feb 28, 2011 at 3:52 AM, Demetris <de...@ece.neu.edu> wrote:
>
> Apologies for my late posting. I missed the later postings on this by a few
> of you.
> If it helps that's awesome otherwise you can just ignore it.

no problems, thanks for contributing to this thread

>
> On 2/27/2011 10:48 PM, Demetris wrote:
>>
>> May be this can help -
>>
>> http://www.ibm.com/developerworks/library/specification/ws-wadlwsdl/index.html
>>
>> WSDL (pre-2.0) describes SOAP engpoints. WSDL 2.0 includes appropriate
>> annotations
>> for REST services. WADL is geared towards description of resources which
>> is what
>> REST/HTTP is based on.
>>
>> I agree with Glen a bit on the JMS/RESTful services but I need to do a bit
>> more research on that.
>>

There is only one reason why CXF JAX-RS supports the routing of the
JMS messages to the JAX-RS endpoints.

Those CXF users who have invested their time and effort into building
JAX-RS-only services should have the possibility to reuse the same
code for accepting the messages routed to it via different channels
(JMS being just one of them). There are many other options, without
even CXF being involved, but as far as us working on the CXF are
concerned, we would like to provide the options at the CXF level...

Cheers, Sergey

Re: WADLs

Posted by Demetris <de...@ece.neu.edu>.
Apologies for my late posting. I missed the later postings on this by a 
few of you.
If it helps that's awesome otherwise you can just ignore it.

Regards

On 2/27/2011 10:48 PM, Demetris wrote:
>
> May be this can help -
> http://www.ibm.com/developerworks/library/specification/ws-wadlwsdl/index.html 
>
>
> WSDL (pre-2.0) describes SOAP engpoints. WSDL 2.0 includes appropriate 
> annotations
> for REST services. WADL is geared towards description of resources 
> which is what
> REST/HTTP is based on.
>
> I agree with Glen a bit on the JMS/RESTful services but I need to do a 
> bit more research on that.
>
> On 2/24/2011 9:24 AM, Glen Mazza wrote:
>> You can at least view the WADL using ?_wadl at the end of the service 
>> string in a browser.
>>
>> Unsure, but JMS/REST would seem to be a contradiction, because REST 
>> is based on the HTTP transport.
>>
>> Glen
>>
>> On 2/24/2011 9:17 AM, robert wrote:
>>> The Web Application Description Language (WADL) is new to me.
>>>
>>> Does CXF support WADLs in any way, relative to the REST style?
>>>
>>> Also, what would be more applicable, WADLs or WSDLs in support of
>>> JMS/RESTful services?
>>>
>>> Thanks!
>>>
>>
>>
>

Re: WADLs

Posted by Demetris <de...@ece.neu.edu>.
May be this can help -
http://www.ibm.com/developerworks/library/specification/ws-wadlwsdl/index.html

WSDL (pre-2.0) describes SOAP engpoints. WSDL 2.0 includes appropriate 
annotations
for REST services. WADL is geared towards description of resources which 
is what
REST/HTTP is based on.

I agree with Glen a bit on the JMS/RESTful services but I need to do a 
bit more research on that.

On 2/24/2011 9:24 AM, Glen Mazza wrote:
> You can at least view the WADL using ?_wadl at the end of the service 
> string in a browser.
>
> Unsure, but JMS/REST would seem to be a contradiction, because REST is 
> based on the HTTP transport.
>
> Glen
>
> On 2/24/2011 9:17 AM, robert wrote:
>> The Web Application Description Language (WADL) is new to me.
>>
>> Does CXF support WADLs in any way, relative to the REST style?
>>
>> Also, what would be more applicable, WADLs or WSDLs in support of
>> JMS/RESTful services?
>>
>> Thanks!
>>
>
>

Re: WADLs

Posted by Glen Mazza <gm...@talend.com>.
You can at least view the WADL using ?_wadl at the end of the service 
string in a browser.

Unsure, but JMS/REST would seem to be a contradiction, because REST is 
based on the HTTP transport.

Glen

On 2/24/2011 9:17 AM, robert wrote:
> The Web Application Description Language (WADL) is new to me.
>
> Does CXF support WADLs in any way, relative to the REST style?
>
> Also, what would be more applicable, WADLs or WSDLs in support of
> JMS/RESTful services?
>
> Thanks!
>