JBoss Community

Re: httprouter issues with GET/POST WADL Services and Web Routing

created by Luke Samad in JBoss ESB Development - View the full discussion

Because of the URL pattern (urlPattern="client/docket/*"), this is hard to accomplish. You have to use a different style of URL/Resource styling.

 

Something like:

http://localhost:8080/esbRestProxy/http/esb-proxy/simple/customers?id=1

 

@GET
@Produces("application/xml")
public StreamingOutput getCustomer(@QueryParam("id") int id) {
     ....
}

 

It kinda sucks, it is a limitation of SOA-P. As far as I know, you can not accomplish this with the current version 5.0.2.

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community