JBoss Community

Re: JAX-RS and ClientFramework Connection problem

created by mrusinak in JBoss Web Services - View the full discussion

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");

 

 

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

Start a new discussion in JBoss Web Services at Community