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]



Reply via email to