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

Dave Siracusa do-not-reply at jboss.com
Thu Jul 15 14:46:20 EDT 2010


Dave Siracusa [http://community.jboss.org/people/davesiracusa] replied to the discussion

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

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

--------------------------------------------------------------
I mentioned I was using SOA-P 5.0, what version are you using?



org.jboss.soa.esb.http.HttpRequest has getQueryParams while org.jboss.resteasy.spi doesn't.


endpointUrl  - http://server/resources
requestInfo.getQueryParams() - name/value pair should suffice assuming you are doing a GET


method - somemethod, basically appended to the endpointUrl

restfulrequest - likely to be null or empty


response = JerseyClientSingleton.+get+ (



                                                                      endpointUrl


                                                                      ,requestInfo.getQueryParams()
                                                                       ,method
                                                                      ,restfulrequest
                                                                      );




The get methods have different parameters, make sure the map imports in this file are intact.



--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/552881#552881]

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/20100715/deac53a5/attachment.html 


More information about the jboss-dev-forums mailing list