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 "N.S.Karthik" <ns...@gmail.com> on 2011/09/23 06:49:29 UTC

AXIS2 ANT TASKS CONFUSING

Hi

It is a bit Confusing in the Documents for WSDL2JAVA /JAVA2WSDL are in 2
versions

Which to be used (under circumstances ) ...Both used to run via ANT ?????

1)Ant task with ARGS













...

2)Ant tasks with built in

eg:-

-- 
View this message in context: http://old.nabble.com/AXIS2-ANT-TASKS-CONFUSING-tp32503853p32503853.html
Sent from the Axis - User mailing list archive at Nabble.com.

AW: AXIS2 ANT TASKS CONFUSING

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
Your 2 versions:

 

WSDL2JAVA creates JAVA code from a WSDL file

JAVA2WSDL creates a WSDL file from JAVA code

 

And such jobs can best be invoked by an ANT TASK/TARGET

 

Josef

 

 

 

Von: N.S.Karthik [mailto:nskarthik.k@gmail.com] 
Gesendet: Freitag, 23. September 2011 06:49
An: axis-user@ws.apache.org
Betreff: AXIS2 ANT TASKS CONFUSING

 

Hi It is a bit Confusing in the Documents for WSDL2JAVA /JAVA2WSDL are
in 2 versions Which to be used (under circumstances ) ...Both used to
run via ANT ????? 1)Ant task with ARGS ... 2)Ant tasks with built in
eg:- 

________________________________

View this message in context: AXIS2 ANT TASKS CONFUSING
<http://old.nabble.com/AXIS2-ANT-TASKS-CONFUSING-tp32503853p32503853.htm
l> 
Sent from the Axis - User mailing list archive
<http://old.nabble.com/Axis---User-f232.html>  at Nabble.com.


Re: AXIS2 ANT TASKS CONFUSING

Posted by robert lazarski <ro...@gmail.com>.
On Fri, Sep 23, 2011 at 1:49 AM, N.S.Karthik <ns...@gmail.com> wrote:
> Hi It is a bit Confusing in the Documents for WSDL2JAVA /JAVA2WSDL are in 2
> versions Which to be used (under circumstances ) ...Both used to run via ANT
> ????? 1)Ant task with ARGS ... 2)Ant tasks with built in eg:-
> ________________________________
> View this message in context: AXIS2 ANT TASKS CONFUSING
> Sent from the Axis - User mailing list archive at Nabble.com.
>

Have you read these docs?

http://axis.apache.org/axis2/java/core/tools/CodegenToolReference.html

Not sure I understand your question. You'd use wsdl2java if you have a
wsdl (contract first) , java2wsdl if you want to generate a wsdl via
pre-existing java classes.

- R

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org