JBoss Community

httprouter issues with GET/POST WADL Services and Web Routing

reply from jack lista in JBoss ESB Development - View the full discussion

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

Start a new discussion in JBoss ESB Development at Community