• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wasn't helpful at all.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks man
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic