You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Iwan Memruk <im...@lohika.com> on 2006/05/03 16:29:01 UTC

Axis 0.95 WSDL2Java generates stubs which don't compile

Hi,

I use WSDL2Java to generate stubs for the attached WSDL.

The options are: -s -ss -p axis2_stubs

Here's the log I get when I run 'ant':

Buildfile: build.xml

init:

pre.compile.test:
     [echo] Stax Availability= true
     [echo] Axis2 Availability= true

compile.src:
    [javac] Compiling 9 source files to D:\tmp\104\build\classes
    [javac] D:\tmp\104\src\com\intalio\www\bpms\workflow\taskmanagementservices_20051109\TaskMetadata.java:859: textArray is already defined in parse(javax.xml.stream.XMLStreamReader)
    [javac]                             java.lang.String[] textArray = stateMachine8.getTextArray();
    [javac]                                                ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
D:\tmp\104\build.xml:43: Compile failed; see the compiler error output for details.

I'm attaching the generated build.xml too, in case you need it.

Thanks a lot,
Iwan