Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2 (Embded in tomcat5.5) - Moving services.xml to custom location (or JAX-WS)

 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an existing webapp without web services that works on tomcat.
To add axis2 web services functionality I added to web.xml
I have a working web services axis2 on tomcat 5.5 web app. My problem is that although I have my class (service) files in custom location (of course I modified the services.xml file accordingly) I MUST (or may be not hopefully) put the services.xml file for each service into the WEB-INF\services\service_name\META-INF.
I read this tutorial that tells me how to define multiple web services in one services.xml but doesn't tell me how do I define a custom location to put it in (instead of creating directories hierarchy for each service and putting the file under META-INF).
ALTERNATIVELY I would gladly use JAX-WS2 IF I DON't NEED services.xml at all (after all I tell it who is the service with annotations) so to add a web services functionality to my web app would be just editing web.xml.
Any Ideas?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We had a discussion on that a while ago: How to run JAX-WS on Tomcat

I always meant to figure out how to apply WS-Security to that setup, but never got around to it.
 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wasn't helpful at all.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That topic shows how to run JAX-WS in a web app; wasn't that what you asked for (as an alternative)?
 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks man
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic