This content has been marked as final.
Show 1 reply
-
1. Re: Retrieving a list of all Web Services deployed under a J
eykatz Apr 2, 2005 12:38 PM (in response to eykatz)Replying Jason (this topic started at another forum):
One way you list the services is to just go to http://localhost:8080/jboss-net/services
This is very nice, only the problem is someone could change the servlet-mapping in web.xml
From:
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
To:
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/SOME_OTHER_PATH/*</url-pattern>
</servlet-mapping>
though I doubt that anyone would do such a thing...
My solution was to deploy my own web service that connects to Axis runtime, like this:Map envMap = ?.?.? AxisServer server = AxisServer.getServer(envMap); Iterator services = server.getConfig().getDeployedServices();
Do you know how to retrieve the enviorment map?
Thanks
Eyal