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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to