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 18081] - org.w3c.dom.Document Java2WSDL Regression
Date Tue, 18 Mar 2003 01:57:49 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=18081>.
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=18081

org.w3c.dom.Document Java2WSDL Regression

jasnell@us.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Blocker
            Summary|org.w3c.dom.* classes not   |org.w3c.dom.Document
                   |handled properly in         |Java2WSDL Regression
                   |Java2WSDL                   |



------- Additional Comments From jasnell@us.ibm.com  2003-03-18 01:57 -------
Further testing has shown this to be a serious regression from Axis 1.0 
functionality.  

Running the following class through Axis 1.0 Java2WSDL yields satisfactory 
results (see attachment)... running it through Axis 1.1 Java2WSDL yields an 
exception (see below)

Test.java
  package test.hello;
  import org.w3c.dom.Document;
  import org.w3c.dom.Element;
  public class Test {
    public Element getDocument() {
      return null;
    }
    public Document getElement() {
      return null;
    }
  }


Axis 1.1 Exception

WSDLException: faultCode=OTHER_ERROR: Can't find prefix 
for 'http://dom.w3c.org'. 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:267)
        at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:334)
        at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:504)
        at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:542)

Mime
View raw message