• 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

Where to put the server-config.wsdd

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey everyone,

I'm trying to get a simple helloworld web service running using axis 1.3 (latest stable release). I created the class and a deploy.wsdd and an undeploy.wsdd using WebSphere Studio to run on WebSphere 5.1. I then created a server-config.wsdd and put it into my WEB-INF folder. My question is -- What do I have to do to get axis to pick that file up? Is there a servlet that I have to map also? What causes axis to start up and look in the webapplication as it gets deployed? I know I'm missing something easy and any help here would be appriciated. I want to avoid the command line admin utility if at all possible.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will have to deploy the web service once, either by using the CLI command, or via Ant. Once it is deployed, Axis will know about it every time you restart it.
 
smercmu
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does that mean when I move it to a different environment (i.e., from my laptop to qa to production) then I'll have to run a script for each environment?
 
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
I suppose a carefully crafted WSDD file is portable across environments, but it's read only at startup, so you would need to reload Axis if you update it. Deploying the service via AdminClient seems like the lesser evil.

Note that re-deploying a service does not "flush" its classes out of the Axis classloader. If any have changed, you'll need to reload Axis to pick them up.
 
smercmu
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the info... I appriciate it.
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
d
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic