File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to retrieve my WebServices' URLs?

 
Yuri Morais
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can write a listener class or a filter.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic