cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengling Qian (JIRA)" <>
Subject [jira] [Created] (CXF-6276) Some non-primitive properties lost during generating WADL
Date Thu, 05 Mar 2015 13:16:38 GMT
Pengling Qian created CXF-6276:

             Summary: Some non-primitive properties lost during generating WADL
                 Key: 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"/>
as you saw, "member" get lose. Sometimes the lost is "manager".

This message was sent by Atlassian JIRA

View raw message