Is WADL a standard for REST applications?
Asked Answered
A

1

7

Is WADL a real standard like WSDL? Must WADL URI end with ".wadl" extension?

I've created an HelloWorld example in Jersey and I've got the WADL from URL. Then I've created a client using "wadl-client-plugin" and it works.

My question is this: if I use another framework (i.e. CXF) that generate WADL, can I use it in my "wadl-client-plugin" to create the client?

Aniseikonia answered 7/3, 2013 at 10:50 Comment(0)
R
4

The REST approach is simpler than SOAP, but unfortunately there is no standard at the moment.

More specifically, concerning WADL, the W3 team answered:

W3C is pleased to receive the Web Application Description Language from SUN Microsystems Inc. As of today, W3C has no plans to take up work based on this Submission. We encourage people interested by this work to discuss on the [email protected] Mailing List

However, there are ways to create clients from WADL

Roach answered 7/3, 2013 at 10:59 Comment(3)
Thank you for reply. My idea is to create an eclipse plugin to generate my client. In the wizard you can choose the endpoint (WADL URL) and create client class.Aniseikonia
I'm using jersey API to create the class client in the plugin.Aniseikonia
If you are interesting in Eclipse plugin to generate a java client class from WADL, you can see at link https://mcmap.net/q/111070/-restful-client-from-wadl/…Aniseikonia

© 2022 - 2024 — McMap. All rights reserved.