File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

axis2 how to remove /axis2/services from ws endpoint

 
Mark Moge
Ranch Hand
Posts: 100
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I change an endpoint of a web service which was created by axis2 wsdl2java script?

I have working Web Service with the endopint http://localhost:6060/axis2/services/myService/ and cannot figure out how I can use it with http://localhost:6060/myService/ (without axis2/services). Could you help me solve this problem or point resources which could guide me (after two days of searching still do not know how to do this)
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "axis2" part is the name of the web app - if you don't want that you need to make Axis the ROOT web app.

The "services" part is just the mapping of the AxisServlet; you can change that in the web.xml file.
 
Mark Moge
Ranch Hand
Posts: 100
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the solution, it works!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic