And @Consumes as well, for both in/out representations to link to the
grammar section

On Wed, May 4, 2011 at 8:51 PM, Sergey Beryozkin <[email protected]> wrote:
> Hi
>
> On Wed, May 4, 2011 at 5:40 PM, yhu <[email protected]> wrote:
>> After I give the "theList" a initial value by new java.util.ArrayList(), the
>> NPE disappears and XML data is de-serialized to requestWrapper correctly.
>> That is great!
>>
>> But I still don't know how to make a link from <request >representations to
>> the grammar section in WADL. Per your suggestion, I set namespace value for
>> @XmlRooElement on RequestWrapper class declare, but there is still no link
>> from representation to grammar. Could you provide more detail for that?
>
> I think the generator is also checking if @Produces has a value with
> 'xml' subtype, application/xml or similar,
> adding @Produces("application/xml") should fix it
>
> Cheers, Sergey
>
>> Thanks
>>
>> --
>> View this message in context: 
>> http://cxf.547215.n5.nabble.com/java-util-List-in-rquest-missed-in-WADL-tp4365634p4370398.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>
>
>
> --
> Sergey Beryozkin
>
> Application Integration Division of Talend
> http://sberyozkin.blogspot.com
>

Reply via email to