When cxf generates my WADL I get references to objects in the grammar
section, but if it is a primitive type it has a comment of what the
primitive type is but no element attribute set.  Is there a way to get what
is in the comment into the element attribute of the representation tag? 
Here are two examples.
References the object in the grammar:
<resource path="/optout/individual/{individualId}">

<method name="GET">
<request/>
<response>
<representation mediaType="application/xml" element="prefix1:indOptOut"/>
<representation mediaType="application/json"/>
</response>
</method>
</resource>
Has only a comment that it is xs:boolean:
<resource path="/ministering/remove/{unitNbr}/{individualId}">


<method name="DELETE">
<request/>
<response>
<!-- Primitive type : xs:boolean -->
<representation mediaType="application/xml"/>
<!-- Primitive type : xs:boolean -->
<representation mediaType="application/json"/>
</response>
</method>
</resource>

Thanks,
Gil

-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/WADL-generation-question-tp2740129p2740129.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to