You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Coder One <co...@yahoo.com> on 2008/05/28 07:38:36 UTC

REST Annotation in CXF 2.1

Regarding the example below, what if the class GetCustomer has a few more fields, like name, age, etc. what would th 
&nbsp;
&nbsp;
&nbsp;
&nbsp;&nbsp;&nbsp; @GET
&nbsp;&nbsp;&nbsp; @Path("getAlertMsg")
&nbsp;&nbsp;&nbsp; @ProduceMime("application/json")
&nbsp;&nbsp;&nbsp; public GetMsgRsp getAlertMsg(@PathParam("aReq") GettMsgReq aReq)
&nbsp;&nbsp;&nbsp; {
&nbsp;&nbsp; .....
&nbsp;&nbsp;&nbsp; }