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

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

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


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

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski closed AXIS2-2425.
----------------------------------


> 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


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

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski resolved AXIS2-2425.
------------------------------------

    Resolution: Won't Fix

JiBX support for Axis2 currently requires you to use an existing JiBX binding definition and Java classes. You need to specify the binding definition using a -Ebindingfile {path-to-file} argument for Wsdl2Java, as stated in the exception message. See the user guide section on JiBX for details and examples, or the example at http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/example for a sample project you can download.

> 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