I've walked through the restful_http_binding CXF example.
On the client side there is an example on how to fire the GET on the server
side.
WHat can I do to invoke the methods for the other HTTP methods?
Do I have to rely upon an HTTP client to do it (for example Apache HTTP
client) or there is some more friendly CXF API to do it?
Thank you.
@Put
@HttpResource(location = "/customers/{id}")
void updateCustomer(@WebParam(name = "Customer")
Customer c);
@Post
@HttpResource(location = "/customers")
long addCustomer(@WebParam(name = "Customer")
Customer c);
@Delete
@HttpResource(location = "/customers/{id}")
void deleteCustomer(@WebParam(name = "id")
long id) throws CustomerNotFoundFault;
--
View this message in context:
http://cxf.547215.n5.nabble.com/HTTP-POST-in-restful-http-binding-on-the-client-side-tp3251572p3251572.html
Sent from the cxf-user mailing list archive at Nabble.com.