axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Butek <bu...@us.ibm.com>
Subject Re: RC1: wsdl2java broken?
Date Fri, 06 Sep 2002 19:00:41 GMT




We'd have to see the class/interface that you feed to Java2WSDL, and the
WSDL that comes out of this that you feed to WSDL2Java.

Russell Butek
butek@us.ibm.com


"Robert Herold" <herold@cotagesoft.com> on 09/06/2002 01:42:59 PM

Please respond to axis-user@xml.apache.org

To:    <axis-user@xml.apache.org>
cc:
Subject:    RC1: wsdl2java broken?



I use java2wsdl to generate a WSDL file, then WSDL2Java to generate
deployment files and client stubs.  This worked fine up through beta 3.  In
RC1, however, WSDL2Java gets the following error:

java.io.IOException: Type {http://www.w3.org/2001/XMLSchema} is referenced
but n
ot defined.
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(Symbol
Table.java:485)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:385
)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:372)
        at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:359)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:
        247)
        at java.lang.Thread.run(Thread.java:536)

I am invoking it as follows:

java -classpath
c:/temp/axis-generated/xhub/hackclasses;s:/lib/axis.jar;s:/lib/s
aaj.jar;s:/lib/jaxrpc.jar;s:/lib/commons-logging.jar;s:/lib/commons-
discover
y.ja
r;s:/lib/wsdl4j.jar;s:/lib/tomcat/jaxrpc.jar;s:/lib/tt-bytecode.jar;s:
/lib/a
ctiv
ation.jar;s:/lib/log4j.jar;s:/bld/classes;s:/bld/test/classes
org.apache.axis.ws
dl.WSDL2Java --server-side --deployScope Application XHub.wsdl

WSDL2Java must work for the Axis team, as they use it extensively in their
tests.  Any thoughts as to what might be wrong?

Thanks,

-- bob

----------
Robert Herold
Cotagesoft, Inc.
650 474 9013 x808





Mime
View raw message