I cannot answer your question, but I'm glad that I can chat with
someone in an "enterprise" like myself. It looks like we are dealing
with very similar issues.
Here is my (admittedly much more general) formulation of the problem.
There is no WS-* stack in browsers or in handheld devices, so teams on
such projects cannot leverage existing SOAP interfaces.Add-hock,
poorly designed and inconsistent small RESTful APIs start popping up
everywhere and before long IT needs to formulate a REST strategy. IMO,
if you take all the requirements that drove the evolution of SOAP for
the past decade, you end up with the entire WS-* stack re-implemented
as JSON resources. I'm old enough to see it happen before. The WS-*
stack is essentially the re-implementation of (almost) all enterprise
middleware features from the previous decade (the 90's). Similar
requirements tend to lead to similar solutions, save some relatively
low-level technical details.
Coming back to your question. I would be very curious to know what
application are you considering WADL for? Web, mobile, back-end
integration? Can you imagine a world where we can use REST where it
makes sense and SOAP where we already do? Do we really need to ditch
SOAP and in the process ruin REST for everybody else with our
enterprise requirements? These are questions that keep me up at night
(figuratively speaking, of course). Any insights?
Cheers,
Ferenc
On Nov 30, 5:39 pm, Carlos Eberhardt <carlos.eberha...@gmail.com>
wrote:
We have launched a developer API set using REST w/ XML response to be
consumed by HTML, Flex, mobile, etc. We looked at generation of WADL/
XSDs along with it. Coming from a SOAP background it seemed to make
sense, and everyone though, "great our developers will use a toolset
to generate client libraries and then be good to go." But from what
we can tell, no one does this - and that toolset doesn't really exist.
So we did create XSD for all the responses, but we don't generate the
WADL any more and no one is asking for it.
..Jordan
On Dec 6, 8:15 am, Carlos Eberhardt <carlos.eberha...@gmail.com>
wrote:
Especially given the fact that the dev is partly done by a 3rd party,
I do feel a lack of interface documentation in REST world,
compared to SOAP, so
I started using SOAPui to "define" the API and write tests to
define the expected behaviour.
SOAPui is able of creating a WADL and nice HTML formatted
documentation.
I take the created WADL as a start an put further info into it,
especially about expected headers etc, what SOAPui can't do.
having said that, I expect the REST API to be more "self-explanatory"
than a SOAP one,
but that's yet to be proven.
maybe that is useful to you, too?
cheers,
Martin