Hi You probably need to do
?fistName=bar&lastName=foo And these (query) firstName & lastName properties will have bar and foo values injected into corresponding Name fields, possibly with the help of setters such as setFirstName, etc Hope it helps, Sergey -----Original Message----- From: Simona Afifi [mailto:[email protected]] Sent: 20 November 2009 18:40 To: [email protected] Subject: How to specify QueryParam name in a Java object being passed in? I have a webservice method that takes in a java object e.g. public String HelloThere(@QueryParam("")Name name){ ...} I would like to specify the name of the field to be display in the Name object, how can i do that? Class Name{ String firstName; //I want the user to pass it as fn String lastName; //I want the user to pass it as ln ... } Any help, please? -- View this message in context: http://old.nabble.com/How-to-specify-QueryParam-name-in-a-Java-object-be ing-passed-in--tp26443622p26443622.html Sent from the cxf-user mailing list archive at Nabble.com.
