Manel Fera [
http://community.jboss.org/people/manelfera] created the discussion
"Re: httprouter issues with GET/POST WADL Services and Web Routing"
To view the discussion, visit:
http://community.jboss.org/message/612720#612720
--------------------------------------------------------------
Your solution is pretty nice and workfull
I have a question on how to send the rest params for GET, DELETE, and PUT actions.
My RestService have methods with the following specification:
@GET
@Path("")
@Produces("application/xml")
public StreamingOutput getCustomer(@PathParam("id") int id) {
....
}
How am I supposed to send the id through the custom http proxy.
The rest service expects the id in the url
http://localhost:8080/rest-service/customer/1
http://localhost:8080/rest-service/customer/1
If I send the id at the end of the custom url it doesn't work.
http://localhost:8080/esbRestProxy/http/esb-proxy/simple/customers/1
http://localhost:8080/esbRestProxy/http/esb-proxy/simple/customers/1
Hope someone can help!
Cheers!
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/612720#612720]
Start a new discussion in JBoss ESB Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]