You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jim Dibble <jd...@amberpoint.com> on 2002/05/14 00:11:56 UTC

Single-Step Deployment

Is it possible to deploy a web service without sending a message to the
axis servlet?  In effect, I would like to place my compiled classes and
my deployment information (the info in the deploy.wsdd file) into my
Tomcat directory structure, and have the web service work without having
to send the axis servlet a message from the
org.apache.axis.client.AdminClient.  I notice that the servlet creates
the server-config.wsdd file once I send my deploy.wsdd file, and that
this file contains the metadata about the deployed web service.  Could I
hand-code a server-config.wsdd file and place it directly in the WEB-INF
directory at startup?
 
Note that the instant deployment solution (.jws files) is not sufficient
for my needs because (1) I need to do some XML-to-Java mapping that can
only be accomplished in the deploy.wsdd file and (2) I don't want the
overhead of compilation on the first call to the web service.

Re: Single-Step Deployment

Posted by Vadim Zaliva <vz...@setnet.com>.
Jim Dibble wrote:

> Is it possible to deploy a web service without sending a message to 
> the axis servlet ?  In effect, I would like to place my compiled 
> classes and my deployment information (the info in the deploy.wsdd 
> file) into my Tomcat directory structure, and have the web service 
> work without having to send the axis servlet a message from the 
> org.apache.axis.client.AdminClient.  I notice that the servlet creates 
> the server-config.wsdd file once I send my deploy.wsdd file, and that 
> this file contains the metadata about the deployed web service.  Could 
> I hand-code a server-config.wsdd file and place it directly in the 
> WEB-INF directory at startup?
>
Jim,

I had exatly the problem you describe. We deployed service once manually 
and when
stole server-config.wsdd and put it into WEB-INF directory of our WAR 
file. It works fine. However regenerating it manually after each change 
to WSDL is painful.

I am no AXIS expert and hope there is better solution.

Vadim






Re: Single-Step Deployment

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Jim Dibble" <jd...@amberpoint.com>
To: <ax...@xml.apache.org>
Sent: Monday, May 13, 2002 3:11 PM
Subject: Single-Step Deployment


> Is it possible to deploy a web service without sending a message to the
> axis servlet?  In effect, I would like to place my compiled classes and
> my deployment information (the info in the deploy.wsdd file) into my
> Tomcat directory structure, and have the web service work without having
> to send the axis servlet a message from the
> org.apache.axis.client.AdminClient.  I notice that the servlet creates
> the server-config.wsdd file once I send my deploy.wsdd file, and that
> this file contains the metadata about the deployed web service.  Could I
> hand-code a server-config.wsdd file and place it directly in the WEB-INF
> directory at startup?

I havent explored this, but maybe you could take the wsdd fiel that gets
created and put it in your app for redeployment.

>
> Note that the instant deployment solution (.jws files) is not sufficient
> for my needs because (1) I need to do some XML-to-Java mapping that can
> only be accomplished in the deploy.wsdd file and (2) I don't want the
> overhead of compilation on the first call to the web service.

(2) you can fix with a <get> in your build file, post deployment.

(1)..well, we really need xdoclet support for Axis. Ara has promised this in
xdoclet for the sun web service stuff