Thanks for your response , here is my RequestWrapper
@XmlRootElement(name="RequestWrapper", namespace="http://xxxxx/")
public class RequestWrapper {
List<String> theList;
String theRequest;
@XmlElement (name="listItem")
@XmlElementWrapper
public Collection<String> getTheList() {
return theList;
}
public void setTheList(List<String> theList) {
this.theList = theList;
}
@XmlElement(name="theRequest")
public String getTheRequest() {
return theRequest;
}
public void setTheRequest(String theRequest) {
this.theRequest = theRequest;
}
@Override
public String toString() {
return "RequestWrapper{" +
"theList=" + theList +
", theRequest='" + theRequest + '\'' +
'}';
}
}
--
View this message in context:
http://cxf.547215.n5.nabble.com/how-can-we-customise-the-output-wadl-generated-by-cxf-jaxrs-tp4424768p4425072.html
Sent from the cxf-user mailing list archive at Nabble.com.