开发者

How can I list all deployed jax-ws webservices?

I h开发者_运维技巧ave deployed some jax-ws webservices in a tomcat: web.xml:

...
<servlet>
        <servlet-name>WebServiceJaxWs</servlet-name>
        <servlet-class>...a bean of mine which overwrites WSServletDelegate</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>
...

The webservices themselves are defined in the sun-jaxws.xml

They work just fine.

I now need to write a jsp, which displays all deployed webservices. I have access to the servlet context, but I simple cannot find a way to access the WebServiceJaxWs Servlet. My idea was to access it and then enumerate the published endpoints.

Any ideas?


The manual way I can think of is to parse your sun-jaxws.xml and get the information from there.


Maybe you could deploy all those web services as JMX beans and see them using JConsole.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜