Re: wadl2java returning JAXB and headers

2014-04-22 Thread Sergey Beryozkin
Looks like one needs to pass such options via 2 extraargs to the plugin -tMap {http://foo.bar.net/users-api/group}date=net.bar.foo.users.jaxrs.service.GroupResponse Cheers, Sergey On 17/04/14 17:20, Graham Leggett wrote: On 17 Apr 2014, at 5:50 PM, Sergey Beryozkin wrote: It is not

Re: wadl2java returning JAXB and headers

2014-04-17 Thread Graham Leggett
On 17 Apr 2014, at 5:50 PM, Sergey Beryozkin wrote: > It is not possible to return Response. > If you only had > > > > then you'd get Response, but I agree having a schema element reference may be > useful for the 3rd party consumers of WADL. > > We will need to introduce an option to return

Re: wadl2java returning JAXB and headers

2014-04-17 Thread Graham Leggett
On 17 Apr 2014, at 5:50 PM, Sergey Beryozkin wrote: > It is not possible to return Response. > If you only had > > > > then you'd get Response, but I agree having a schema element reference may be > useful for the 3rd party consumers of WADL. > > We will need to introduce an option to return

Re: wadl2java returning JAXB and headers

2014-04-17 Thread Sergey Beryozkin
Hi On 17/04/14 16:38, Graham Leggett wrote: Hi all, When I run wadl2java on the following fragment of wadl, I get the API interface defined below: The SHA1 hash of the sum of DN and modifiedTimestamp of the matching users.

wadl2java returning JAXB and headers

2014-04-17 Thread Graham Leggett
Hi all, When I run wadl2java on the following fragment of wadl, I get the API interface defined below: The SHA1 hash of the sum of DN and modifiedTimestamp of the matching users. The Cache-Control header as