I use axis-1.4. Both java2wsdl and wsdl2java tasks takes a nested classpath element.
I use the following macros: <macrodef name="gen-wsdl-from-class"> <attribute name="classname"/> <attribute name="classfile"/> <attribute name="wsdl"/> <attribute name="service"/> <sequential> <ac:outofdate> <sourcefiles path="@{classfile}"/> <targetfiles path="@{wsdl}"/> <sequential> <axis-java2wsdl classname="@{classname}" output="@{wsdl}" namespace="${ws.ns}" location="http://localhost:8080/axis/services/@{service}"> <classpath> <path refid="main.path"/> </classpath> </axis-java2wsdl> </sequential> </ac:outofdate> </sequential> </macrodef> and <!-- --> <!-- Macrodef for generating client proxy files from a wsdl --> <!-- --> <macrodef name="gen-java-from-wsdl"> <attribute name="wsdl" description="s"/> <attribute name="targetfile"/> <attribute name="package"/> <sequential> <ac:outofdate> <sourcefiles path="@{wsdl}"/> <targetfiles path="@{targetfile}"/> <sequential> <axis-wsdl2java output="build/gen/java" url="@{wsdl}" serverside="true" verbose="false"> <mapping namespace="${ws.ns}" package="@{package}"/> <classpath refid="main.path"/> </axis-wsdl2java> </sequential> </ac:outofdate> </sequential> </macrodef> On 5/18/07, Steve Loughran <[EMAIL PROTECTED]> wrote:
Martin Gainty wrote: > Good Evening All > > Is there a classpath or classpathref attribute avail for wsdl2java Task? there should be, but you'd have to check the docs or with the axis team. I havent touched it for a long, long time --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]