Hi,
I have a couple of further questions about CXF and the WADL generation.
1. Is it possible to obtain a WADL file from CXF offline, e.g. without a
running JEE container?
2. Are the following transformations (from service interface to WADL)
the most we can obtain?
@POST
<T extends AbstractSchemaTO> Response create(@PathParam("kind")
AttributableType attrType,
@PathParam("type") SchemaType schemaType, T schemaTO);
becomes
<method name="POST" id="create">
<request>
<representation mediaType="application/octet-stream"/>
</request>
<response>
<representation mediaType="application/octet-stream"/>
</response>
</method>
As you can see there is no 'element' information into
request/representation; or
@GET
<T extends AbstractSchemaTO> List<T> list(
@PathParam("kind") AttributableType attrType,
@PathParam("type") SchemaType schemaType);
becomes
<method name="GET" id="list">
<request/>
<response>
<representation mediaType="application/octet-stream"/>
</response>
</method>
In this case there is no 'element' information into response/representation.
TIA
Regards.
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/