Re: How CXF Handles APIs If those are not annotated with the @Path Variable ?

2015-10-19 Thread Sumit Arora
/how-cxf-handles-apis-if-those-are-not-annotated-with-the-path-variable On Mon, Oct 19, 2015 at 8:04 PM, Sergey Beryozkin wrote: > If @Path is not set then it is default to the empty value, ex, all the > methods getText1...getText6 match > > GET /testqa > Accept: application/jso

Re: How CXF Handles APIs If those are not annotated with the @Path Variable ?

2015-10-19 Thread Sergey Beryozkin
If @Path is not set then it is default to the empty value, ex, all the methods getText1...getText6 match GET /testqa Accept: application/json and the selection between those methods is random, possibly the 1st of those methods but is not guaranteed...This is a standard 2.0 selection process

How CXF Handles APIs If those are not annotated with the @Path Variable ?

2015-10-19 Thread Sumit Arora
During my work I encountered below scenario, On which : getText1, getText2,getText3,getText4,getText5,getText6 are without @Path annotations, But when I call the API (http://localhost:8080/.../testqa/ )it always show : {"name":"Sumit1 Arora","age":21,"address":"Lakshay1 Arora"} @Service("qaservi