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 Jyrki Saarinen <jy...@valimo.com> on 2005/05/11 06:30:07 UTC

wsdl2java issues

Hello all,

I encoutered a strange problem when upgrading to Axis 1.2 from 1.2RC2, a WSDL 
file stopped compiling with wsdl2java. Here's the command line that I use to 
compile:

java -classpath 
lib/axis.jar:lib/commons-logging-1.0.4.jar:lib/commons-discovery-0.2.jar:lib/wsdl4j-1.5.1.jar:lib/saaj.jar:lib/jaxrpc.jar:lib/mailapi.jar 
org.apache.axis.wsdl.WSDL2Java --server-side --skeletonDeploy true -o src 
xml/mssp.wsdl

Here is the error message from wsdl2java:

java.io.IOException: Type 
{http://www.w3.org/2000/09/xmldsig#}SignatureProperty is referenced but not 
defined.
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:663)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:493)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:360)
        at java.lang.Thread.run(Thread.java:534)

SignatureProperty is defined in xmldsig-core-schema.xsd if I understand it 
correctly.

Find the WSDL and required XML schemas attached, I would be happy if someone 
understands what is happening here?

Jyrki