this method is mapped to an http get of ` products / productid ' , relative to the url that point to this order resource itself . the value for productid will be passed to this message as a parameter , using the @pathparam annotation . the method returns an product object - for creating the http response , this object is marshaled into xml using jaxb . for example : accessing ` http://localhost:8181/cxf/crm/customerservice/orders/223/products/323 ' will first trigger the customerservice 's getorder method to return the order instance for order 223 and afterwards , it will use the remaining part of the uri ` products/323 ' to map to this method and return the product details for product 323 in this order . concode_field_sep Map<Long,Product> products concode_elem_sep String description concode_elem_sep long id concode_field_sep void init concode_elem_sep void setId concode_elem_sep long getId concode_elem_sep void setDescription concode_elem_sep String getDescription concode_elem_sep Order getThisOrder
Product function ( @ PathParam ( "srini_string" ) int arg0 ) { System . out . println ( "srini_string" + arg0 ) ; Product loc0 = products . get ( new Long ( arg0 ) ) ; return loc0 ; }