Hi
On 14/11/11 11:29, chetan wrote:
Hi,
I'm using CXF v2.4.3 - Jaxrs
I have a rest API an is hit by URL: GET /root/v1
There is no parameter passed, no body as well.
The response has xml payload though. I'm using JAXB to generate java classes
for response.
I'm using "@Description" annotation on the method.
However, the auto generated WADL seems to have missed the grammar for the
response schema.
I suspect you have either List<MyBean> or Response - in the latter case
use a WADLElement annotation to give hint to the generator about the
Response entity
Sergey
Any idea?
PS: If my request is a POST with xml body, the WADL is correct and has both
request and response schema.
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-WADL-generation-Grammar-missing-tp4990503p4990503.html
Sent from the cxf-user mailing list archive at Nabble.com.