Andreas Wuttke [
http://community.jboss.org/people/awuttke] created the discussion
"How to determine URL of JAX-RS web services?"
To view the discussion, visit:
http://community.jboss.org/message/642651#642651
--------------------------------------------------------------
Hello,
in order to register our REST-based web services on startup in a service registry we have
to determine the correct URL of them. Is there a way to query the base URL of a service
somehow?
The services have annotations like the following:
@Path("rest")
public interface IDemoService
{
@GET
@NoCache
@Path("/")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public RESTWsDescription getDescription() throws BaseException;
...
}
Thanks for any hint,
Andreas
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/642651#642651]
Start a new discussion in JBoss AS 7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]