axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14182] New: - Java2WSDL fails when processing java.lang.Object
Date Fri, 01 Nov 2002 21:22:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14182>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14182

Java2WSDL fails when processing java.lang.Object

           Summary: Java2WSDL fails when processing java.lang.Object
           Product: Axis
           Version: current (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: douglas.bitting@agile.com


I have a very simple class with the following method signature:

  public Object run()

When I run Java2WSDL on this class, I receive the following:

> java org.apache.axis.wsdl.Java2WSDL -l http://foo.bar/baz GetServerVersion
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.:
        void javax.wsdl.WSDLException.<init>(java.lang.String, java.lang.String)
        java.lang.String com.ibm.wsdl.util.xml.DOMUtils.getPrefix
(java.lang.String, javax.wsdl.Definition)
        java.lang.String com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue
(java.lang.String, java.lang.String, javax.wsdl.Definition)
        void com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute
(java.lang.String, javax.xml.namespace.QName, javax.wsdl.Definition, 
java.io.PrintWriter)
        void com.ibm.wsdl.xml.WSDLWriterImpl.printParts(java.util.List, 
javax.wsdl.Definition, java.io.PrintWriter)
        void com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(java.util.Map, 
javax.wsdl.Definition, java.io.PrintWriter)
        void com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition
(javax.wsdl.Definition, java.io.PrintWriter)
        void com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(javax.wsdl.Definition, 
java.io.Writer)
        org.w3c.dom.Document com.ibm.wsdl.xml.WSDLWriterImpl.getDocument
(javax.wsdl.Definition)
        org.w3c.dom.Document org.apache.axis.wsdl.fromJava.Emitter.emit(int)
                Emitter.java:237
        void org.apache.axis.wsdl.fromJava.Emitter.emit(java.lang.String, int)
                Emitter.java:290
        void org.apache.axis.wsdl.Java2WSDL.run(java.lang.String[])
                Java2WSDL.java:458
        void org.apache.axis.wsdl.Java2WSDL.main(java.lang.String[])
                Java2WSDL.java:497

Mime
View raw message