JBoss Community

httprouter issues with GET/POST WADL Services and Web Routing

reply from Dave Siracusa in JBoss ESB Development - View the full discussion

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

Start a new discussion in JBoss ESB Development at Community