Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 83887 invoked by uid 500); 18 Mar 2003 01:55:58 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 83878 invoked from network); 18 Mar 2003 01:55:58 -0000 Date: 18 Mar 2003 01:57:49 -0000 Message-ID: <20030318015749.13764.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: axis-dev@ws.apache.org Cc: Subject: DO NOT REPLY [Bug 18081] - org.w3c.dom.Document Java2WSDL Regression X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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)