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 directly access a web service without localhost:8080/ProjectName/service/Webservice 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 » Web Services
Bookmark "directly access a web service without localhost:8080/ProjectName/service/Webservice" Watch "directly access a web service without localhost:8080/ProjectName/service/Webservice" New topic
Author

directly access a web service without localhost:8080/ProjectName/service/Webservice

mocca mixer
Greenhorn

Joined: Jul 30, 2010
Posts: 2
Hi Java Ranch Members,

I have a device which is configured to access a webservice under a given ip address + port. The problem is that the configuration of the device cannot be changed anymore (it can but it would be very inconvinient since we would have to send the device back, etc.)...

the webservice it is supposed to call is running under http://xxx.xxx.xxx.xxx:8080/JavaProjectName/services/WebserviceName on a tomcat server (using axis2)

what i am trying to accomplish at the moment is to make it work directly under http://xxx.xxx.xxx.xxx:8080

after exchanging the <display-name> in the web.xml with "/" it is already running under http://xxx.xxx.xxx.xxx:8080/services/WebserviceName. I can see that there are mappings in the web.xml file which direct to url-patterns "/services/*" to an AxisServlet. I tried to replace those mappings with "/*" which produced some error during tomcat startup.

any ideas? is this possible at all? I am thankful for every hint.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: directly access a web service without localhost:8080/ProjectName/service/Webservice