Hello folks, How can I retrieve dinamically the WebServices' URLs that are running in my container (JBoss) ? I would like that when the component were deployed, I could retrieve its URL and persist it.
I'm not sure what you mean by "persist the URL", but generally web services announce their presence through WSDL. Of course, to use WSDL, you need to know which WS is available at which URL. If you don't know that, but are looking for a way to discover WS, have a look at UDDI, which acts as a kind of registry for WS.
Joined: Jul 10, 2006
gar tek: What kind of listener? Do you know a specific one?
Ulf Dittmer: I know the URLs are available at http://localhost:8080/jbossws/services, but I want that the component itself retrieve its own URL for after that, call my persistence service sending this URL.