aspose file tools*
The moose likes Web Services and the fly likes axis2 how to remove /axis2/services from ws endpoint Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis2 how to remove /axis2/services from ws endpoint" Watch "axis2 how to remove /axis2/services from ws endpoint" New topic
Author

axis2 how to remove /axis2/services from ws endpoint

Mark Moge
Ranch Hand

Joined: Mar 14, 2009
Posts: 96

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)


SCJP6 | http://programmerutilities.blogspot.com/
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39537
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
Mark Moge
Ranch Hand

Joined: Mar 14, 2009
Posts: 96

Thank you for the solution, it works!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: axis2 how to remove /axis2/services from ws endpoint
 
Similar Threads
axis2/webshpere response != axis2/glassfish response........ why?
How does Axis2 interact vs Tomcat?
Erreur lors de l’exécution d'un client axis2 qui fait une redirection
Register web service with Axis2 deployed in JBoss
Facing Problems Running My First WebService