users@jersey.java.net

[Jersey] Jersey version 1.1.5

From: Michael Bedard <mbedard_at_ebscohost.com>
Date: Fri, 19 Aug 2011 10:39:15 -0400

Hello,

 

I'm using Glassfish 3.0.1 and the WADL that is created is missing the
element attribute in the representation node. I found info on the wiki
about extending the WADL generator here- >
http://wikis.sun.com/display/Jersey/ExtendedWadlExample

 

...and I found this on the wiki that described my issue->

 

Adding more information to the generated WADL

However, there's more information you might want to have included in the
WADL that jersey cannot simply read from the compiled resource classes.
These are some examples for such cases:

Our case-> When you return some JAXB entity, you might want to have set
the element attribute in the WADL representation element (including the
xml namespace). This information is also not available to jersey,
additionally the generated WADL must contain the grammars element
including the required xsd files

 

My question: is this the only way to get this functionality or can I use
Jersey 1.8? When using web service the WSDL file will contain a schema
node, which has all the mappings to the complex types. Will Jersey do
this and how is it accomplished?

 

Thanks

-mike