> Hello,
>
> Is it possible to get URL of a client that requesting a service? How?
>
this was posted by Ashutosh recently:

RE: Client specific processing
From: Ashutosh Arora <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED]


  This code snippet shows how...�public void getRate(Envelope reqEnv, 
SOAPContext reqCtx, SOAPContext respCtx)
������������� throws SOAPException{������ HttpServletRequest request = 
(HttpServletRequest) reqCtx.getProperty(
������������������ ������������������������������ 
Constants.BAG_HTTPSERVLETREQUEST );������ String host = 
request.getServerName();� // servername
����� int port = request.getServerPort();� // port #
����� String protocol = request.getScheme();� // http/https
����� String wsuri = request.getRequestURI();������// My web service 
processing...}


/ victor

Reply via email to