You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Pengling Qian (JIRA)" <ji...@apache.org> on 2015/03/05 14:16:38 UTC
[jira] [Created] (CXF-6276) Some non-primitive properties lost
during generating WADL
Pengling Qian created CXF-6276:
----------------------------------
Summary: Some non-primitive properties lost during generating WADL
Key: CXF-6276
URL: https://issues.apache.org/jira/browse/CXF-6276
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 2.7.15, 3.0.4
Reporter: Pengling Qian
Fix For: 3.1.0, 2.7.16
There are 2 classes:
Team {
String teamName;
Person manager;
Person member;
}
Person {
String firstName;
String lastName;
}
if Team is an object annotated with @FormParam("") in a POST service method, then the generated WADL seems like the following:
<representation mediaType="application/x-www-form-urlencoded">
<param name="teamName" style="query" type="xs:string"/>
<param name="manager.firstName" style="query" type="xs:string"/>
<param name="manager.lastName" style="query" type="xs:string"/>
</representation>
as you saw, "member" get lose. Sometimes the lost is "manager".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)