[
https://issues.apache.org/jira/browse/AXIS2-5475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
VictorQian updated AXIS2-5475:
------------------------------
Attachment: cim.wsdl
this wsdl has multiple xsd embedded.
> Unable to generate code using jaxbri
> ------------------------------------
>
> Key: AXIS2-5475
> URL: https://issues.apache.org/jira/browse/AXIS2-5475
> Project: Axis2
> Issue Type: Bug
> Components: databinding, Tools, wsdl
> Affects Versions: 1.6.2
> Environment: any.
> Reporter: VictorQian
> Attachments: cim.wsdl
>
>
> if using adb, wsdl2java could generate codes, but it fails if using jaxbri:
> 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:293)
> 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:246)
> ... 2 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> 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:355)
> ... 8 more
> Caused by: java.lang.RuntimeException: Unable to generate code using jaxbri
> at
> org.apache.axis2.jaxbri.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:247)
> ... 8 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]