Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 37420 invoked from network); 11 Apr 2008 13:17:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Apr 2008 13:17:16 -0000 Received: (qmail 58315 invoked by uid 500); 11 Apr 2008 13:17:13 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 58167 invoked by uid 500); 11 Apr 2008 13:17:13 -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 58156 invoked by uid 99); 11 Apr 2008 13:17:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 06:17:13 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 13:16:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DDDC1234C0C3 for ; Fri, 11 Apr 2008 06:14:05 -0700 (PDT) Message-ID: <1560973454.1207919645907.JavaMail.jira@brutus> Date: Fri, 11 Apr 2008 06:14:05 -0700 (PDT) From: "Kumar (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-3361) Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException In-Reply-To: <16483786.1195761823467.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-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kumar updated AXIS2-3361: ------------------------- Description: Hi, I'm getting errors while generating Java stubs from a WSDL file. Please let me know How to resolve this issue. Many ThANKS Following is the trace: [DEBUG] org.apache.axis2.schema.i18n.resource::handleGetObject(schema.unsupportedcontenterror) 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(CodeGenerationEngine.java:265) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50) ... 3 more Caused by: org.apache.axis2.schema.SchemaCompilationException: Unsupported content Simple Content ! at org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCompiler.java:1268) at org.apache.axis2.schema.SchemaCompiler.processSimpleRestrictionBaseType(SchemaCompiler.java:1481) at org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCompiler.java:1379) at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1079) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788) at org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1126) at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1077) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:623) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:284) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212) at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80) ... 8 more was: Hi, I'm getting errors while generating Java stubs from a WSDL file. Please let me know How to resolve this issue. Many ThANKS Following is the trace: Retrieving schema at 'InitResponsev1.xsd', relative to 'file:/C:/Temp/Version13.11.2007/'. Retrieving schema at 'DataTypes.xsd', relative to 'file:/C:/Temp/Version13.11.2007/InitResponsev1.xsd'. Retrieving schema at 'ProcessRequestv1.xsd', relative to 'file:/C:/Temp/Version13.11.2007/'. Retrieving schema at 'DataTypes.xsd', relative to 'file:/C:/Temp/Version13.11.2007/ProcessRequestv1.xsd'. Retrieving schema at 'InquireVehicleRequestv1.xsd', relative to 'file:/C:/Temp/Version13.11.2007/'. Retrieving schema at 'DataTypes.xsd', relative to 'file:/C:/Temp/Version13.11.2007/InquireVehicleRequestv1.xsd'. Retrieving schema at 'InquireVehicleResponsev1.xsd', relative to 'file:/C:/Temp/Version13.11.2007/'. Retrieving schema at 'DataTypes.xsd', relative to 'file:/C:/Temp/Version13.11.2007/InquireVehicleResponsev1.xsd'. Retrieving schema at 'MVOMErrorHandlingv1.xsd', relative to 'file:/C:/Temp/Version13.11.2007/'. Retrieving schema at 'oasis-sstc-saml-schema-assertion-1.xsd', relative to 'file:/C:/Temp/Version13.11.2007/'. Retrieving schema at 'xmldsig-core-schema.xsd', relative to 'file:/C:/Temp/Version13.11.2007/oasis-sstc-saml-schema-assertion-1.xsd'. [DEBUG] Entry: populateAllServices [DEBUG] mapActionToOperation: Mapping Action to Operation: action: http://eu.toyota.com/nmscordering/vehicleordering/v1/vehicleorderingv1/InquireVehicleRequest; operation: org.apache.axis2.description.InOutAxisOperation@1ad81ad8 [DEBUG] mapActionToOperation: Mapping Action to Operation: action: http://eu.toyota.com/nmscordering/vehicleordering/v1/InquireVehicle; operation: org.apache.axis2.description.InOutAxisOperation@1ad81ad8 [DEBUG] SOAP body parts have not been set. All the parts in the message were added to the message. [DEBUG] SOAP body parts have not been set. All the parts in the message were added to the message. [DEBUG] Exit: populateAllServices. [DEBUG] getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...) [DEBUG] loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.resource, locale en_GB [DEBUG] Created org.apache.axis2.i18n.resource, linked to parent null [DEBUG] getBundle(org.apache.axis2,org.apache.axis2.schema.i18n,resource,null,...) [DEBUG] loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.schema.resource, locale en_GB [DEBUG] loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis2.resource, locale en_GB [DEBUG] Root package not found, cross link to org.apache.axis2.i18n.resource [DEBUG] Root package not found, cross link to org.apache.axis2.i18n.resource [DEBUG] Created org.apache.axis2.schema.i18n.resource, linked to parent org.apache.axis2.i18n.resource [DEBUG] org.apache.axis2.schema.i18n.resource::handleGetObject(schema.unsupportedcontenterror) 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(CodeGenerationEngine.java:265) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50) ... 3 more Caused by: org.apache.axis2.schema.SchemaCompilationException: Unsupported content Simple Content ! at org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCompiler.java:1268) at org.apache.axis2.schema.SchemaCompiler.processSimpleRestrictionBaseType(SchemaCompiler.java:1481) at org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCompiler.java:1379) at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1079) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788) at org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1126) at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1077) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:623) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977) at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:284) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212) at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80) ... 8 more > Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-3361 > URL: https://issues.apache.org/jira/browse/AXIS2-3361 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Affects Versions: 1.3 > Environment: WINDOWS XP,JDK1.4.2,AXIS2-1.3 > Reporter: Kumar > > Hi, > I'm getting errors while generating Java stubs from a WSDL file. > Please let me know How to resolve this issue. > Many ThANKS > Following is the trace: > [DEBUG] org.apache.axis2.schema.i18n.resource::handleGetObject(schema.unsupportedcontenterror) > 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(CodeGenerationEngine.java:265) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) > Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218) > ... 2 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50) > ... 3 more > Caused by: org.apache.axis2.schema.SchemaCompilationException: Unsupported content Simple Content ! > at org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCompiler.java:1268) > at org.apache.axis2.schema.SchemaCompiler.processSimpleRestrictionBaseType(SchemaCompiler.java:1481) > at org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCompiler.java:1379) > at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1079) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478) > at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899) > at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788) > at org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1126) > at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1077) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:623) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478) > at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899) > at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788) > at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977) > at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914) > at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518) > at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:284) > at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212) > at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80) > ... 8 more -- 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