This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 41134
    
  45
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.


Ping & DNS - my free Android networking tools app
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?
 
Similar Threads
how to save images
URL related
how to enter binary data into sql server from my android application
how to consume webservice in andriod?
how to upload images