This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic