[ https://issues.apache.org/jira/browse/CXF-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-6276. ----------------------------------- Resolution: Fixed Fix Version/s: 3.0.5 Assignee: Sergey Beryozkin > 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: 3.0.4, 2.7.15 > Reporter: Pengling Qian > Assignee: Sergey Beryozkin > Labels: wadl-generation > Fix For: 3.1.0, 2.7.16, 3.0.5 > > Original Estimate: 1h > Remaining Estimate: 1h > > 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)