John,

you can retrieve the running address the usual way (see the java.net
package). About the running port, if you are using tomcat, you can parse
the server.xml configuration file.

HTH,
Michele

On Wed, 2007-03-21 at 14:25 +0000, John Thompson wrote:
> 
> hi!
> 
> is there way to determine (in the deployed service code) what the
> service's deployed URL is?  (I am using Axis 1.4)
> 
> Why? I would like (in order to build some remote monitoring in) to set
> up in a java static the url/port etc to make it available for the
> service code that this could be communicated to a remote 3rd party.) 
> 
> thanks...TJ.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to