This was a bug in 1.0 with the order of the XML Schema versions and their types.
It should be fixed in a recent nightly build.

--
Tom Jordahl
Macromedia Server Development



-----Original Message-----
From: korz, david [mailto:korz_david@;emc.com]
Sent: Wednesday, November 13, 2002 11:55 PM
To: [EMAIL PROTECTED]
Subject: Java2WSDL exception


I get the following expection running Java2WSDL on my class. Does anyone
know what the problem is?

WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the
Definition object using the addNamespace(...) method.: 
        at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source)
        at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source)
        at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown
Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
        at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236)
        at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:289)
        at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:458)
        at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:497)

Reply via email to