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

jack lista do-not-reply at jboss.com
Thu Jul 15 15:15:19 EDT 2010


jack lista [http://community.jboss.org/people/jackalista] replied to the discussion

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

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

--------------------------------------------------------------
I'm using the soa 5.0 (from JBoss you mean, right?) dist.  You didn't give me any Map imports for the WADLAction class, but what I'm using is this:

import org.jboss.resteasy.util.CaseInsensitiveMap;

the code looks like this, I'm about to try running it:

...
CaseInsensitiveMap queryParamterMap = new CaseInsensitiveMap();
queryParamterMap.putSingle("action", "getprofile");
queryParamterMap.putSingle("busta", "27184283");

response = JerseyClientSingleton.get    (endpointUrl
                                                           ,queryParamterMap
                                                           ,method
                                                           ,""
                                                           );


The "" is the request body, and "method" is a String parameter set to "GET"... I'll let ya know how it goes in a minute... (but feel free to correct me on anything that needs it...)

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

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

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/031cb85c/attachment.html 


More information about the jboss-dev-forums mailing list