[jboss-user] [JBoss Web Services] - Re: JAX-RS and ClientFramework Connection problem

mrusinak do-not-reply at jboss.com
Mon Jun 4 16:42:33 EDT 2012


mrusinak [https://community.jboss.org/people/mrusinak] created the discussion

"Re: JAX-RS and ClientFramework Connection problem"

To view the discussion, visit: https://community.jboss.org/message/739802#739802

--------------------------------------------------------------
Do you specify a <context-root> in jboss-web.xml (I assume so since your browser URL path is /project/basic)? If so, you'll need to add that to the URL your client is connecting to:

SimpleClient client = ProxyFactory.create(SimpleClient.class, " http://localhost:8080/context http://localhost:8080/context");


Since the context isn't a part of the annotations, there's no way for the clientproxy to discover that on its own.
--------------------------------------------------------------

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

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120604/79daef39/attachment.html 


More information about the jboss-user mailing list