Inside a webservice defined like
@WebMethod
public ResponseType myMethod()
{
...
}
How can I get the calling url? In a http servlet I can use the ServletRequest
object to get the url with something like request.getRequestURL()
.
Thanks,
Adam