Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.4, 2.7.15
-
Unknown
Description
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".