• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help on Making the service available

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have recently wrote my first web service successfully with axis and deployed on websphare. I am able to call the web service using the URL like

http://localhost:9081/TradeSystem/services/FindTrade

Now I want this service to be called from other system using the URL something like

http://anyname.com:9081/TradeSystem/services/FindTrade

Is it possible to make some changes in websphare to make a service available like this?

Thanks,
Me
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Assuming you have the anyname.com name registered to the server address in question, you may already be ready to invoke the service as you describe.
The only thing you need to make sure is how your server handles a request for the WSDL of the service using the following URL:
http://anyname.com:9081/TradeSystem/services/FindTrade?wsdl
Some servers, namely GlassFish, will detect the server address used in the request for the WSDL and automatically insert it into the returned WSDL, replacing the address of the service.
If your server does not do this, then you may have to edit the WSDL manually and redeploy the service.
Best wishes!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic