Hi Miten
As I mentioned in the previous email, CXF HTTP Binding has been
deprecated and has been completely removed from 2.6.0. It's still
available in 2.3.x-2.5.x but I do no recall any fixes going into it for
the last couple of years or so.
If you do need to work with this binding say in 2.5.x then consider
creating a patch for a problem below
Cheers, Sergey
On 25/04/12 13:58, imiten wrote:
Hi,
I have below two methods for CXF Rest. The getProducts returns list but
getProduct(int id) fails with error:
org.apache.cxf.interceptor.Fault: Invalid URL/Verb combination. Verb: GET
Path: /product/9
@WebResult(name="product")
@Path("/product/{product_id}")
@Get
public Product getProduct(@PathParam("product_id")int id);
@WebResult(name="product_list")
@Get
@Path("/products")
public List<Product> getProducts();
When method has @Post then incoming xml elements will be mapped to method
parameters using PathParam or WebParam ?
Regards,
Miten.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Get-parameter-not-mapping-tp5664787p5664787.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com