Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 22345 invoked from network); 26 Oct 2006 09:15:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 09:15:23 -0000 Received: (qmail 13903 invoked by uid 500); 26 Oct 2006 09:15:31 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 13867 invoked by uid 500); 26 Oct 2006 09:15:31 -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 13830 invoked by uid 99); 26 Oct 2006 09:15:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 02:15:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 02:15:17 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 867F37142C1 for ; Thu, 26 Oct 2006 02:14:16 -0700 (PDT) Message-ID: <26636131.1161854056546.JavaMail.root@brutus> Date: Thu, 26 Oct 2006 02:14:16 -0700 (PDT) From: "Mariusz Woloncewicz (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-1510) Included schema filenames impact wsdl2java with xmlbeans binding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Included schema filenames impact wsdl2java with xmlbeans binding ---------------------------------------------------------------- Key: AXIS2-1510 URL: http://issues.apache.org/jira/browse/AXIS2-1510 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: codegen Reporter: Mariusz Woloncewicz Attachments: TestServices.wsdl Types declaration in wsdl: Output generated by wsdl2java.bat -uri TestServices.wsdl -d xmlbeans : Retrieving schema at 'subscribe.xsd', relative to 'file:/C:/JIRA/'. Retrieving schema at 'unsubscribe.xsd', relative to 'file:/C:/JIRA/'. 2006-10-26 10:35:52 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityR esolver resolveEntity INFO: Resolving schema with publicId [null] and systemId [subscribe.xsd] 2006-10-26 10:35:52 org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityR esolver resolveEntity INFO: Resolving schema with publicId [null] and systemId [unsubscribe.xsd] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException : java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener ationEngine.java:224) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExcepti on at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLB eansExtension.java:92) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener ationEngine.java:177) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLB eansExtension.java:82) ... 3 more Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: src-resolve: type 'SubscribeType@ws/request/beans' not found. at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGe nerationUtility.java:241) ... 8 more Caused by: org.apache.xmlbeans.XmlException: error: src-resolve: type 'Subscribe Type@ws/request/beans' not found. at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(Sche maTypeSystemCompiler.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:667) at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGe nerationUtility.java:167) ... 8 more Current workaround is renaming unsubscribe.xsd file (for instance, to "unsubscription.xsd"). -- 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