File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Where to put the server-config.wsdd Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Where to put the server-config.wsdd" Watch "Where to put the server-config.wsdd" New topic
Author

Where to put the server-config.wsdd

smercmu
Greenhorn

Joined: Feb 25, 2002
Posts: 20
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.
Ulf Dittmer
Marshal

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


Android appsImageJ pluginsJava web charts
smercmu
Greenhorn

Joined: Feb 25, 2002
Posts: 20
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
Marshal

Joined: Mar 22, 2005
Posts: 32767
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

Joined: Feb 25, 2002
Posts: 20
Thanks for the info... I appriciate it.
Feargal Egan
Greenhorn

Joined: Nov 14, 2001
Posts: 13
d
 
 
subject: Where to put the server-config.wsdd
 
Threads others viewed
Deployable AXIS war
What tool to auto generate beanMapping entries for Axis
WSAD, Apache Axis, and client-config.wsdd
Apache AXIS server-config.wsdd.
server-config.wsdd
IntelliJ Java IDE