HI, 

After I add @XmlRootElement(name="RequestWrapper",
namespace="http://something";), the link between representation and grammars
is generated in WADL, like this:
  <request>
  < representation mediaType="application/xml"
element="prefix1:RequestWrapper" /> 
  </request>

 The key point is both name and namespace are required. Initially, I only
used @XmlRootElement( namespace="http://something";), it did not work (This
is weird because @XmlRootElement's name derives from class name by default.
Maybe you can have a look).

The problem is resolved finally, thanks for your great help!

--
View this message in context: 
http://cxf.547215.n5.nabble.com/java-util-List-in-rquest-missed-in-WADL-tp4365634p4371165.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to