users@jersey.java.net

Re: [Jersey] WadlResource, stylesheets for Wadl documents, custom marshalling

From: Ari Heino <ext.ari.heino_at_tieto.com>
Date: Tue, 6 Oct 2009 06:47:10 -0700 (PDT)

Paul Sandoz wrote:
>
> Hi,
>
> Are you supplying any custom WADL generation?
>

Not sure, I think not (if i've understood WADL generators correctly). I'm
mainly just testing WADL examples found here in user forum and in
jersey.dev.net site.


Paul Sandoz wrote:
>
> You might be able to obtain the error by doing the following in a
> resource class:
>
> @Context ResourceConfig resourceConfig;
>
> ...
>
> WadlGeneratorConfigLoader.loadWadlGeneratorsFromConfig(resourceConfig);
> JAXBContext.newInstance(wadlGenerator.getRequiredJaxbContextPath());
>
> Paul.
>
>

Tried your suggestion, but since I don't have a handle on that wadlGenerator
object nor knowledge on how to get it, it did not get it working. If you
mean by generator those built time tasks, then no, I don't have those at
all.

-- 
View this message in context: http://n2.nabble.com/WadlResource-stylesheets-for-Wadl-documents-custom-marshalling-tp2454900p3775115.html
Sent from the Jersey mailing list archive at Nabble.com.