You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Martin Gainty <mg...@hotmail.com> on 2006/11/29 15:31:10 UTC
where is wsdl2Java?
All-
I am attempting to locate the jar which contains the taskdef'ed wsdl2java task?
Thank You,
Martin --
This e-mail communication and any attachments may contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
contents
Re: where is wsdl2Java?
Posted by Steve Loughran <st...@apache.org>.
Martin Gainty wrote:
> Hi Scott-
>
> I copied $AXIS2_HOME/lib/axis-codegen-1.0.jar (size 189.558) to %ANT_HOME/lib and ran the samples.xbeans build.xml compile task
>
> first I editted the build.xml to include the WSDL2Java class
> vi build.xml
> <taskdef name="wsdl2java"
> classname="org.apache.axis2.wsdl.WSDL2Java"
> classpathref="classpath"/>
>
> cd $AXIS2_HOME/samples/xbeans
> compile:
> No public execute() in class org.apache.axis2.wsdl.WSDL2Java
>
> BUILD FAILED
> C:\AXIS\Axis-2_1\src\axis\samples\xbeans\build.xml:61: No public execute() in class org.apache.axis2.wsdl.WSDL2Java
>
> So it appears that class org.apache.axis2.wsdl.WSDL2Java not having execute() method will not allow the class to be taskdef'ed in Ant
>
That means it isnt an ant task. Ant will turn any class which implements
public void execute() into a task, but not things that don't. Wsdl2Java
has to be somewhere else.
In my copy of axis2 from a year ago, the axis-ant-plugin module has a
class org.apache.axis2.tool.ant.AntCodegenTask. I do not know if this is
what you want or not. I'd also point you at the axis user and then axis
dev mail lists, as they are the people who know the code.
-steve
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: where is wsdl2Java?
Posted by James Abley <ja...@volantis.com>.
OK, that looks like the CLI version, rather than the ANT task. Any other
candidates in the Axis2 distro?
Martin Gainty wrote:
> Hi Scott-
>
> I copied $AXIS2_HOME/lib/axis-codegen-1.0.jar (size 189.558) to %ANT_HOME/lib and ran the samples.xbeans build.xml compile task
>
> first I editted the build.xml to include the WSDL2Java class
> vi build.xml
> <taskdef name="wsdl2java"
> classname="org.apache.axis2.wsdl.WSDL2Java"
> classpathref="classpath"/>
>
> cd $AXIS2_HOME/samples/xbeans
> ant compile -Dxmlbeans.present=true
>
> Buildfile: build.xml
>
> axis-clover-setenv:
>
> axis-clover-setup:
>
> axis-xmlbeans-setenv:
>
> axis-xmlbeans-setup:
>
> setenv:
>
> copy:
>
> compile:
> No public execute() in class org.apache.axis2.wsdl.WSDL2Java
>
> BUILD FAILED
> C:\AXIS\Axis-2_1\src\axis\samples\xbeans\build.xml:61: No public execute() in class org.apache.axis2.wsdl.WSDL2Java
>
> So it appears that class org.apache.axis2.wsdl.WSDL2Java not having execute() method will not allow the class to be taskdef'ed in Ant
>
> Any Suggestions?
> M-
>
> This e-mail communication and any attachments may contain confidential and privileged information for the use of the
> designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
> this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
> contents
>
>
>> Martin:
>>
>> I believe you have to get a jar from the Apache Axis website...
>>
>> Scot
>>
>> Martin Gainty wrote:
>>> All-
>>> I am attempting to locate the jar which contains the taskdef'ed wsdl2java task?
>>> Thank You,
>>> Martin --
>>> This e-mail communication and any attachments may contain confidential and privileged information for the use of the
>>> designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
>>> this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
>>> contents
>>>
>> --
>> Scot P. Floess
>> 27 Lake Royale
>> Louisburg, NC 27549
>>
>> 252-478-8087 (Home)
>> 919-754-4592 (Work)
>>
>> Chief Architect JPlate http://sourceforge.net/projects/jplate
>> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: where is wsdl2Java?
Posted by Martin Gainty <mg...@hotmail.com>.
Hi Scott-
I copied $AXIS2_HOME/lib/axis-codegen-1.0.jar (size 189.558) to %ANT_HOME/lib and ran the samples.xbeans build.xml compile task
first I editted the build.xml to include the WSDL2Java class
vi build.xml
<taskdef name="wsdl2java"
classname="org.apache.axis2.wsdl.WSDL2Java"
classpathref="classpath"/>
cd $AXIS2_HOME/samples/xbeans
ant compile -Dxmlbeans.present=true
Buildfile: build.xml
axis-clover-setenv:
axis-clover-setup:
axis-xmlbeans-setenv:
axis-xmlbeans-setup:
setenv:
copy:
compile:
No public execute() in class org.apache.axis2.wsdl.WSDL2Java
BUILD FAILED
C:\AXIS\Axis-2_1\src\axis\samples\xbeans\build.xml:61: No public execute() in class org.apache.axis2.wsdl.WSDL2Java
So it appears that class org.apache.axis2.wsdl.WSDL2Java not having execute() method will not allow the class to be taskdef'ed in Ant
Any Suggestions?
M-
This e-mail communication and any attachments may contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
contents
> Martin:
>
> I believe you have to get a jar from the Apache Axis website...
>
> Scot
>
> Martin Gainty wrote:
>> All-
>> I am attempting to locate the jar which contains the taskdef'ed wsdl2java task?
>> Thank You,
>> Martin --
>> This e-mail communication and any attachments may contain confidential and privileged information for the use of the
>> designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
>> this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
>> contents
>>
>
> --
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC 27549
>
> 252-478-8087 (Home)
> 919-754-4592 (Work)
>
> Chief Architect JPlate http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
Re: where is wsdl2Java?
Posted by "Scot P. Floess" <fl...@mindspring.com>.
Martin:
I believe you have to get a jar from the Apache Axis website...
Scot
Martin Gainty wrote:
> All-
> I am attempting to locate the jar which contains the taskdef'ed wsdl2java task?
> Thank You,
> Martin --
> This e-mail communication and any attachments may contain confidential and privileged information for the use of the
> designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
> this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
> contents
>
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: where is wsdl2Java?
Posted by James Abley <ja...@volantis.com>.
Part of Apache Axis, so I would expect axis-ant.jar or something
similar, in Axis 1 anyway.
Martin Gainty wrote:
> All-
> I am attempting to locate the jar which contains the taskdef'ed wsdl2java task?
> Thank You,
> Martin --
> This e-mail communication and any attachments may contain confidential and privileged information for the use of the
> designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
> this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
> contents
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org