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 "Dennis Sosnoski (JIRA)" <ji...@apache.org> on 2007/03/29 07:32:25 UTC

[jira] Assigned: (AXIS2-2425) jibx code generation fails in Axis2-1.2-RC1

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

Dennis Sosnoski reassigned AXIS2-2425:
--------------------------------------

    Assignee: Dennis Sosnoski

> jibx code generation fails in Axis2-1.2-RC1
> -------------------------------------------
>
>                 Key: AXIS2-2425
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2425
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2
>         Environment: winxp, jdk15, Axis2-1.2-RC1
>            Reporter: Charitha Kankanamge
>         Assigned To: Dennis Sosnoski
>            Priority: Critical
>
> I encountered the following exception when trying to generate code using jibx data bainding. 
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: JiBX wrapped support requires a binding definition to be provided using the -Ebindingfile{file-path} parameter
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:251
> )
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException: JiBX wrapped support requires a binding definition to be provided using the -Ebindingfile {file-path} parameter
>         at org.apache.axis2.jibx.CodeGenerationUtility.engage(CodeGenerationUtility.java:230)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtension.java:74)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:204
> )
>         ... 2 more
> Steps to reproduce:
> ================
>  Issue the following command
> wsdl2java.bat -uri C:\Axis2\axis2-1.2-RC1\bin\out\Mathsclass-doc.wsdl -o C:\Axis2\axis2-1.2-RC1\bin\wsdloutput -d jibx

-- 
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