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 Rami Muurimaki <ra...@kauha.kauhajoki.fi> on 2003/10/22 21:52:41 UTC
redeploying the web service
Hi,
I'm new to Axis and Web Services.
I do already know the basics of how to set up a WS from JWS-file and from
a Java class or interface. So I do know how to use the Java2Wsdl and
Wsdl2Java admin tasks. But there are several questions to be answered ...
What I would like to know is the most convenient way to redeploying the
web service.
Let's say that if I add new method to my Web Service. Do I have to rerun
the whole Java2Wsdl and Wsdl2Java procedures? Just because I get
the updated deploy.wsdd file which I need for the redeploying ... so that the
'server-config.wsdd' will be updated?
Secondary question.
At the moment I'm coding the Web Service and the clints using Eclipse and
Tomcat 4.1.x. How do you do the whole deploying / testing procedures? I've
heard that the Ant tasks would be powerfull, but don't know anything about
it (yet!!).
Thanks already for the anweres!! :)
Re: redeploying the web service
Posted by Chandrasegaram Jeyakumaran <jk...@opensource.lk>.
Hi,
If u add a new method.....means your wsdl changes. So you have to do the
entire Java2Wsdl and Wsdl2Java procedures.
But if you use the DII(u can create the class manually without the stub
generation) you don't have to generate the stub.(I think this is what you
are referring). Then u can simply recompile the class and do the necessary
changes.
regards,
Jeyakumaran
> Hi,
>
> I'm new to Axis and Web Services.
> I do already know the basics of how to set up a WS from JWS-file and
> from a Java class or interface. So I do know how to use the Java2Wsdl
> and Wsdl2Java admin tasks. But there are several questions to be
> answered ...
>
> What I would like to know is the most convenient way to redeploying the
> web service.
>
> Let's say that if I add new method to my Web Service. Do I have to rerun
> the whole Java2Wsdl and Wsdl2Java procedures? Just because I get
> the updated deploy.wsdd file which I need for the redeploying ... so
> that the 'server-config.wsdd' will be updated?
>
> Secondary question.
> At the moment I'm coding the Web Service and the clints using Eclipse
> and Tomcat 4.1.x. How do you do the whole deploying / testing
> procedures? I've heard that the Ant tasks would be powerfull, but don't
> know anything about it (yet!!).
>
> Thanks already for the anweres!! :)
Lanka Software Foundation
Promoting opensource in Srilanka