users@jax-ws.java.net

[wsgen] sei Class not found

From: Baker, Brad \(Contr\) <"Baker,>
Date: Thu, 7 Dec 2006 13:29:08 -0500

Hi all,

 

My wsgen ant script is failing and I don't see why.

 

I have:

    <target name="do-compile" depends="pre-compile">

        <javac

            srcdir="${src.dir}"

            excludes="${build.classes.excludes}"

            destdir="${build.classes.dir}"

            debug="${debug}"

            debuglevel="${debug.level}"

            deprecation="${javac.deprecation}"

            source="${javac.source}"

            target="${javac.target}"

            fork="${javac.fork}">

            <classpath>

                <path refid="proj.lib.classpath"/>

                <path refid="lib.classpath"/>

            </classpath>

            <compilerarg line="${javac.compilerargs}"/>

        </javac>

    </target>

 

And this compiles all my classes that the SCI will need including the
SCI it's self.

 

Then I have:

    <target name="wsgen" depends="compile, wsgen-init">

        <wsgen

            destdir="${build.generated.dir}/wsgen/service"

            sourcedestdir="${build.generated.dir}/wsgen/service"

            resourcedestdir="${build.generated.dir}/wsgen/service"

            keep="false"

            genwsdl="true"

            sei="com.blah.ws.SCI_name">

            <classpath>

                <pathelement path="${j2ee.platform.wsgen.classpath}"/>

                <pathelement location="${build.classes.dir}"/>

            </classpath>

        </wsgen>

    </target>

But all I get is a Class not found for the SCI.

Did I mess up the classpath for wsgen?

The Compile compeats and I see all the classes in ${build.classes.dir},
so what have I missed?

 

Thanks,

Brad