axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy, Anthony" <>
Subject Java2WSDL via Ant - cannot get it to work!
Date Fri, 30 Jul 2004 15:09:34 GMT
Hi all,

I have been struggling for days trying to get Java2WSDL to work so that I
can fully automate my build process. The closest I have got is the

    <target name="java2wsdl">
        <property name="NAMESPACE" value="ESTARMatcher"/>
           <mapping namespace="${NAMESPACE}" package=""/>
        <path id="java2wsdl.classpath">
                <path path="."/>
                <path refid="axis.classpath"/> 
                <fileset dir="${build.webclasses.dir}" includes="**/*" />
        <echo message="${build.webclasses.dir}"/>
         <java classname="org.apache.axis.wsdl.Java2WSDL" fork="true" 
           <arg value="-o"/>
            <arg value="${root.dir}/wsdl/descriptor.wsdl"/>
            <arg value="-l"/>
            <arg value="${axis.server.url}/axis/services/ESTARMatcher"/>
            <arg value="-n"/>
            <arg value="ESTARMatcher"/>
            <arg value='-p""'/>
            <arg value=""/> 
As you can see, I have tried both the Axis Ant task, and using Axis'
Java2WSDL class directly.

In both cases Java2WSDL cannot see the
class in the classpath. This I do not understand since the class is located
in the ${build.webclasses.dir}.

Does anyone have any ideas on this, or on getting the poorly documented Ant
task working?


Anthony Roy.

t: 01937 54 (6003)


Experience the British Library online at 

Help the British Library conserve the world's knowledge. Adopt a Book. 


The information contained in this e-mail is confidential and may be legally
privileged. It is intended for the addressee(s) only. If you are not the
intended recipient, please delete this e-mail and notify the : The contents of this e-mail must not be disclosed or
copied without the sender's consent. 

The statements and opinions expressed in this message are those of the
author and do not necessarily reflect those of the British Library. The
British Library does not take any responsibility for the views of the


View raw message