axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-3361) Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Date Fri, 11 Apr 2008 13:16:04 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kumar closed AXIS2-3361.
------------------------


It works fine while using xmlbeans databinding..

Regards

> 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


Mime
View raw message