File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Help on Making the service available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Help on Making the service available" Watch "Help on Making the service available" New topic
Author

Help on Making the service available

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
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
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on Making the service available
 
Similar Threads
Question about setting up Cactus for JSP Testing
Help neded for developing the web service
Spring-WS in Websphare
Sample Questions for 288 - Need answers
application "Unavailable" in a new server instance