Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 40574 invoked from network); 9 Aug 2006 12:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2006 12:59:02 -0000 Received: (qmail 21004 invoked by uid 500); 9 Aug 2006 12:58:58 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 20954 invoked by uid 500); 9 Aug 2006 12:58: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: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 20943 invoked by uid 99); 9 Aug 2006 12:58:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 05:58:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 05:58:57 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D1A817141F1 for ; Wed, 9 Aug 2006 12:56:13 +0000 (GMT) Message-ID: <4069449.1155128173829.JavaMail.jira@brutus> Date: Wed, 9 Aug 2006 05:56:13 -0700 (PDT) From: "Alistair Young (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-991) WSDL2Java does not work with wsdl via HTTP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N WSDL2Java does not work with wsdl via HTTP ------------------------------------------ Key: AXIS2-991 URL: http://issues.apache.org/jira/browse/AXIS2-991 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: wsdl Affects Versions: 1.0 Environment: Mac OS X 10.4 JDK1.5.0_06-112 Reporter: Alistair Young Priority: Minor WSDL2Java can only parse local WSDL files. -uri http:// doesn not work. Crashes with null pointer exception. Copying the wsdl file locally works. Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: WSDL writing failed! at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: WSDL writing failed! at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:168) ... 2 more Caused by: java.lang.RuntimeException: WSDL writing failed! at org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.java:45) at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737) at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703) at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638) ... 3 more Caused by: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558) at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:545) at org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.java:40) ... 6 more Caused by: java.lang.NullPointerException at java.io.Writer.write(Writer.java:126) at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.java:442) at com.ctc.wstx.sw.BaseNsStreamWriter.writeAttribute(BaseNsStreamWriter.java:205) at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLStreamWriter.java:138) at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMSerializerUtil.java:76) at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OMSerializerUtil.java:266) at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMSerializerUtil.java:232) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:765) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:754) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:769) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:754) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:769) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:754) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:769) at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:754) at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:310) at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:351) at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554) ... 8 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org