[jboss-dev-forums] [JBoss ESB Development] - httprouter issues with GET/POST WADL Services and Web Routing
jack lista
do-not-reply at jboss.com
Wed Jul 14 18:54:11 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/552646#552646
--------------------------------------------------------------
Hmm, some how I loaded stuff that wasn't properly compiled, I did an "ant clean" and found I don't have an import for "HttpResponse", do you have the import for that? It doesn't seem to be in those jars, (I had assumed this to be Jersey stuff, is it? Or maybe 3rd party?). It's from this snippet of code:
HttpResponse httpResponse = new HttpResponse(response.getStatus());
httpResponse.setContentType(response.getType().toString());
message.getBody().add(entityResponse);
httpResponse.setResponse(message);
I also started looking at this code and it looks like it's processing an incoming request, is that true? That's cool, but I don't want to do that at the moment., I just want to make an oiutgoing request and then probably enhance a message with the data. Do I still use this same JerseyClientSingleton to create a brand new request I want to make from my WADLAction class? Also, if you have a pointer to docs on this client that would be cool too, thanks.
--j
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552646#552646]
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/20100714/598af669/attachment.html
More information about the jboss-dev-forums
mailing list