Dave Kallstrom wrote:
> Newbie quick wsimport question
>
> Here's my taskdef
>
>
>
> <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
>
> <classpath refid="jaxws.classpath"/>
>
> </taskdef>
>
>
>
> Here's my ant target
>
>
>
> <target name="import">
>
> <wsimport
>
> debug="true"
>
> verbose="true"
>
> base="${dir.bin}"
>
> keep="true"
>
> sourceBase="f:/temp"
>
> wsdlFile="f:/temp/hello.wsdl">
>
> <classpath refid="jaxws.classpath"/>
>
Remove the above line. wsimport doesn't require nested <classpath>
entry.
Thanks,
Jitu
> </wsimport>
>
> </target>
>
>
>
> Here's the error message
>
> <wsimport> type doesn't support the nested "classpath" element.
>
>
>
> How do I send the classpath if I can't use the nested "classpath"
>
>
>