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