I think the task is called "axis-java2wsdl"; not "java2wsdl".

Refer to the axis-tasks.properties file in your axis-ant.jar and/or the
documentation in <axis>/docs/ant

Cheers,
Peter.

----- Original Message ----- 
From: "James Black" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 08, 2004 4:34 AM
Subject: re: problem getting java2wsdl ant task to be created


> I don't know what I am doing wrong, so I thought I would ask, and
> hopefully someone can help me understand what may have happened.  Thanx.
>
> I get this error:
>
> BUILD FAILED /export2/home/jblack/src/java/build.xml:82: Could not create
> task or type of type: java2wsdl.
>
> When I ran it with -verbose here is what I got for info:
> Apache Ant version 1.6.2 compiled on July 16 2004
> Buildfile: build.xml
> Detected Java version: 1.5 in: /usr/jdk1.5.0/jre
> Detected OS: SunOS
> parsing buildfile /export2/home/jblack/src/java/build.xml with URI =
> file:///export2/home/jblack/src/java/build.xml
> Project base dir set to:/export2/home/jblack/src/java
> Build sequence for target `generate_securitywsdl' is
[generate_securitywsdl]
>
> and here is my snippet from the ant file, where all of my external jar
files are in lib.dir:
>   <path id="axis.classpath">
>     <fileset dir="${lib.dir}">
>       <include name="axis-ant.jar"/>
>       <include name="axis.jar"/>
>       <include name="commons-discovery.jar"/>
>       <include name="commons-logging.jar"/>
>       <include name="jaxrpc.jar"/>
>       <include name="log4j-1.2.8.jar"/>
>       <include name="saaj.jar"/>
>       <include name="wsdl4j.jar"/>
>     </fileset>
>   </path>
>
>   <taskdef resource="axis-tasks.properties"
>      classpathref="axis.classpath"/>
>
>   <target name="generate_securitywsdl">
>     <delete file="dist/wsdl/securityserver.wsdl"/>
>     <java2wsdl
>         implclass="edu.usf.acomp.axis.SecurityStub"
>         location="${axis.html.url}/Security"
>         namespace="http://localhost/axis/services/Security";
>         output="dist/wsdl/securityserver.wsdl"
>         useinheritedmethods="false"
>         classname="edu.usf.acomp.axis.Security"
>         typemappingversion="1.2">
>        <mapping
>          namespace="http://localhost/axis/services/Security";
>          package="edu.usf.acomp.axis"/>
>     <classpath>
>       <pathelement location="classes"/>
>     </classpath>
>     </java2wsdl>
>   </target>
>
>
>
> -- 
> "Love is mutual self-giving that ends in self-recovery." Fulton Sheen
> James Black    [EMAIL PROTECTED]
>

This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN 27 003 693 
481. It is confidential to the ordinary user of the email address to which it was 
addressed and may contain copyright and/or legally privileged information. No one else 
may read, print, store, copy or forward all or any of it or its attachments. If you 
receive this email in error, please return to sender. Thank you.

If you do not wish to receive commercial email messages from Fujitsu Australia 
Software Technology Pty Ltd, please email [EMAIL PROTECTED]


Reply via email to