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.