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 Chang Xing <ch...@sage.ch> on 2009/05/27 09:19:10 UTC

Re: what is the best way to generate java code when the wsdl is changed?

Thanks. I have also thought to do this if there's no better way with the 
axis2 plugin.



Chinmoy Chakraborty wrote:
> Just an idea!! may be there is a better idea but you can try this if 
> it suits in your case:
>  
> create a batch file. execute the necessary commands sequentially:
>  
> . delete the java source files already exits
> - run the command to create the java sources from wsdl
> ....
>  just run the batch file everytime your wsdl changes.
>  
> Chinmoy
>
> On Wed, May 27, 2009 at 11:22 AM, Chang Xing <chang.xing@sage.ch 
> <ma...@sage.ch>> wrote:
>
>     Hi
>
>     I am using Eclipse with axis2 plugin to generate Java code from a
>     wsdl file.
>     the wsdl file is changed frequently. so I need to regenerate the
>     Java code from the wsdl.
>     But if I generate code to the same project, it will take a long
>     time and the skeleton java file won't be generated again
>     because there's already a skeleton file( I guess so).
>     So I have to create another java project and generate code to this
>     project from the wsdl file.
>
>     Does anybody have a better way to do this work?
>
>     Thanks
>
>     Chang
>
>