You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Shyamala (JIRA)" <ji...@apache.org> on 2009/02/19 07:49:01 UTC
[jira] Updated: (AXIS2-4242)
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[ https://issues.apache.org/jira/browse/AXIS2-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shyamala updated AXIS2-4242:
----------------------------
Attachment: identityService.wsdl
identity.xsd
PFA the xsd and the wsdl used for code generation.
I am using axis2-1.4.1
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4242
> URL: https://issues.apache.org/jira/browse/AXIS2-4242
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Environment: WindowsXP.Using eclipse sdk version 3.2.0
> Reporter: Shyamala
> Attachments: identity.xsd, identityService.wsdl
>
>
> Hello,
> When trying to generate code for a wsdl I am getting the following exception:
> 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:271)
> 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.JAXBRIExtension.engage(JAXBRIExtension.java:112)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
> ... 2 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBRIExtension.java:101)
> ... 3 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable to generate code using jaxbri
> at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:304)
> ... 8 more
> Caused by: java.lang.RuntimeException: Unable to generate code using jaxbri
> at org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:196)
> ... 8 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.