Jan,
If you look under webapps\axis\WEB-INF\server-config.wsdd, you will find a copy of the 'deployment descriptor' file being used by Axis. Typically when you deploy a service using AdminClient, this is the file that gets modified -- a new <service/> element is created within it. The wsdd also contains deployment definitions for other artifacts such as handlers.
The Ant script you reference appears to be capable of not only building various artifacts needed (client stubs, etc) but also packaging the entire Axis webapp as a war, after deploying the newly generated service. Instead of using the server-config.wsdd within axis\WEB-INF as a base starting point, the script gives you the option of using any wsdd as a base into which your service will be deployed.
I guess you could also just modify the Ant script, setting the conf.src property to your <Tomcat>\webapps\axis\WEB-INF folder, and your current axis deployment options would be the basis of the 'packaged service' (WAR file) created by the script. (It looks like, the other alternative is to make a 'configuration file source' folder somewhere and move copies of the various configuration files needed (server-config.wsdd & web.xml) into it.
 
PS: The script is new to me too (as is Axis, so don't bank too heavily on my perceptions), but I plan to take a shot at using it as well shortly . Will let you know if I run into anything interesting in the process of using the build script.
 
 -----Original Message-----
From: Jan Agermose [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: ant script

Ok, so I was just looking over this example:
 
 
but at the end of target generate.axis.files it references a file copy file="${conf.src}/server-config.wsdd" ? Does anyone know what might be in this file?
 
Jan
----- Original Message -----
Sent: Wednesday, February 26, 2003 7:37 PM
Subject: Re: ant script

Or of cause, if this is NOT the way to develop webservices, please comment on the approach :-)
 
Jan
----- Original Message -----
Sent: Wednesday, February 26, 2003 7:30 PM
Subject: ant script

What is Your approach to developing a webservice from scratch? I was thinking you start with a java interface definition, create a wsdl file using java2wsdl and from that you create the stubs and other files. extends this to implement the service methods, package it in a war and deploy on tomcat?
 
If this is the way to do it, and you happen to have a simple ant script to demonstrate this, I would really like to se it if you would care to share it on the list?
 
Jan Agermose
 

Reply via email to