users@jax-rpc.java.net

wsimport

From: Dave Kallstrom <DKallstrom_at_widen.com>
Date: Tue, 12 Jul 2005 10:24:11 -0500

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"/>

                        </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"