[jboss-dev-forums] [JBoss ESB Development] - Re: httprouter issues with GET/POST WADL Services and Web Routing

Luke Samad do-not-reply at jboss.com
Thu Jul 7 16:22:11 EDT 2011


Luke Samad [http://community.jboss.org/people/luke.samad] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/614008#614008

--------------------------------------------------------------
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/1 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
[http://community.jboss.org/message/614008#614008]

Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110707/22fe0416/attachment.html 


More information about the jboss-dev-forums mailing list