• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

How to make an Axis web service start/deploy/work automatically

Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

All the tutorials I've found on how to create an Axis web service seem to include a step of 'deploying' it, which requires running a java app with a deploy.wsdd file (java org.apache.axis.client.AdminClient deploy.wsdd). This seems to talk to the admin servlet, which then 'enables' the web service. This all seems unnecessarily complicated, not to mention something I don't want to have to do every single time I start the EAR.

So my question is how do I structure and configure my web app so that when it starts, it starts my web service automatically without requiring me manually running the deploy.wsdd stage.

For reference, the current structure of my EAR is:

- META-INF/application.xml
- services.war

- wsdl/MyService.wsdl
- - classes (contains MyService.class and beans it uses)
- - lib
- - - axis.jar
- - - commons*.jar
- - - jaxrpc.jar
- - - log4j
- - - saaj.jar
- - - wsdl4.jar
- - MyServiceService
- - - /big/long/package/list/deploy.wsdd
- - - /big/long/package/list/undeploy.wsdd
- - web.xml

Contents of web.xml look pretty standard:

Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic