wsdl2java issues

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

wsdl2java issues

Jyrki Saarinen
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

mssp.wsdl (8K) Download Attachment
xmldsig-core-schema.xsd (10K) Download Attachment
xml_namespace.xsd (1K) Download Attachment
mss.xsd (15K) Download Attachment
soap-envelope.xsd (5K) Download Attachment
xenc-schema.xsd (5K) Download Attachment