This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How to retrieve my WebServices' URLs? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to retrieve my WebServices Watch "How to retrieve my WebServices New topic
Author

How to retrieve my WebServices' URLs?

Yuri Morais
Greenhorn

Joined: Jul 10, 2006
Posts: 8
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.
gar tek
Greenhorn

Joined: Mar 07, 2007
Posts: 10
You can write a listener class or a filter.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42909
    
  68
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.
Yuri Morais
Greenhorn

Joined: Jul 10, 2006
Posts: 8
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to retrieve my WebServices' URLs?