Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 84123 invoked from network); 29 Jun 2007 03:50:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jun 2007 03:50:38 -0000 Received: (qmail 21777 invoked by uid 500); 29 Jun 2007 03:50:36 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 21722 invoked by uid 500); 29 Jun 2007 03:50:35 -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 21710 invoked by uid 99); 29 Jun 2007 03:50:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 20:50:35 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 20:50:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7E69C7141E8 for ; Thu, 28 Jun 2007 20:50:10 -0700 (PDT) Message-ID: <8337701.1183089009991.JavaMail.jira@brutus> Date: Thu, 28 Jun 2007 20:50:09 -0700 (PDT) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1920) WSDL2JAVA generates CodeGenerationException and java.lang.reflect.InvocationTargetException In-Reply-To: <13062568.1167330920968.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-1920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508998 ] Davanum Srinivas commented on AXIS2-1920: ----------------------------------------- latest svn works. thanks, dims > WSDL2JAVA generates CodeGenerationException and java.lang.reflect.InvocationTargetException > ------------------------------------------------------------------------------------------- > > Key: AXIS2-1920 > URL: https://issues.apache.org/jira/browse/AXIS2-1920 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.1 > Environment: Windows XP SP2, JVM 1.4.2_10-b03, Eclipse 3.2, Tomcat 5.0.28 > Reporter: Danny Lin > Assignee: Amila Chinthaka Suriarachchi > Attachments: ConvictionSubject.zip > > > The schema in a zip file is attached. > Please see the following code: WSDL, and build.xml. When choosing to gerenate the skeleton (with databinding="xmlbeans"), I got this error. > Build output: > init: > [mkdir] Created dir: C:\workspace\scdc-ws\build > generate.skeleton: > [wsdl2java] Retrieving schema at 'jxdm/3.0.3/jxdm.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/'. > [wsdl2java] Retrieving schema at 'proxy/xsd/1.0/xsd.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'. > [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/xsd/1.0/xsd.xsd'. > [wsdl2java] Retrieving schema at 'proxy/census/1.0/census.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'. > [wsdl2java] Retrieving schema at '../../../../census/1.0/census.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/census/1.0/census.xsd'. > [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/census/1.0/census.xsd'. > [wsdl2java] Retrieving schema at 'proxy/nibrs_misc/1.0.1/nibrs_misc.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'. > [wsdl2java] Retrieving schema at '../../../../nibrs_misc/1.0.1/nibrs_misc.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/nibrs_misc/1.0.1/nibrs_misc.xsd'. > [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/nibrs_misc/1.0.1/nibrs_misc.xsd'. > [wsdl2java] Retrieving schema at 'proxy/ncic_2000/1.0.2/ncic_2000.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/jxdm.xsd'. > [wsdl2java] Retrieving schema at '../../../../ncic_2000/1.0.2/ncic_2000.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/ncic_2000/1.0.2/ncic_2000.xsd'. > [wsdl2java] Retrieving schema at '../../../jxdm.xsd', relative to 'file:/C:/workspace/scdc-ws/web/META-INF/jxdm/3.0.3/proxy/ncic_2000/1.0.2/ncic_2000.xsd'. > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/3.0.3] and systemId [jxdm/3.0.3/jxdm.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/3.0.3/proxy/nibrs_misc/1.0.1] and systemId [jxdm/3.0.3/proxy/nibrs_misc/1.0.1/nibrs_misc.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/3.0.3/proxy/xsd/1.0] and systemId [jxdm/3.0.3/proxy/xsd/1.0/xsd.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/3.0.3/proxy/ncic_2000/1.0.2] and systemId [jxdm/3.0.3/proxy/ncic_2000/1.0.2/ncic_2000.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/3.0.3/proxy/census/1.0] and systemId [jxdm/3.0.3/proxy/census/1.0/census.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/nibrs_misc/1.0.1] and systemId [jxdm/nibrs_misc/1.0.1/nibrs_misc.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/3.0.3] and systemId [jxdm/3.0.3/jxdm.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/ncic_2000/1.0.2] and systemId [jxdm/ncic_2000/1.0.2/ncic_2000.xsd] > [wsdl2java] Dec 28, 2006 1:07:04 PM org.apache.axis2.xmlbeans.CodeGenerationUtility$Axis2EntityResolver resolveEntity > [wsdl2java] INFO: Resolving schema with publicId [http://www.it.ojp.gov/jxdm/census/1.0] and systemId [jxdm/census/1.0/census.xsd] > BUILD FAILED > C:\workspace\scdc-ws ADB\build.xml:41: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > Total time: 6 seconds > WSDL: > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:scdc="http://ws.doc.state.sc.us/xsd" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:j="http://www.it.ojp.gov/jxdm/3.0.3" > targetNamespace="http://ws.doc.state.sc.us/"> > > targetNamespace="http://ws.doc.state.sc.us/xsd"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org