axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: getting a service's URL/port
Date Wed, 21 Mar 2007 14:42:50 GMT
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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message