axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Thomas Manes" <atma...@gmail.com>
Subject Re: Error occurred while testing the CodeGen Tool
Date Wed, 27 Sep 2006 00:06:56 GMT
See http://ws.apache.org/axis2/1_0/jibx/jibx-codegen-integration.html
and http://jibx.sourceforge.net/tutorial/binding-tutorial.html.
The binding file specifies how to map Java object to XML.

Anne

On 9/26/06, Evanthika Amarasiri <evanthika@wso2.com> wrote:
>
>  Hi,
>      I was testing the Code Generator tool with and gave the command
> "WSDL2Java.bat -uri
> C:\WSO2-Projects\Axis2\Nightly_builds\axis2-std-SNAPSHOT-src\modules\samples\wsdl\Axis2SampleDocLit.wsdl
> -o C:\WSDLJavaTool\output -d jibx" and I got the following exception.
>
>  Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeException: jibx binding option requires -bindingfile {file
> path} parameter
>          at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
>          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 binding option requires
> -bindingfile {file path} parameter
>          at
> org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtension.java:52)
>          at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
>          ... 2 more
>
>  Seems that the command requests the parameter -bindingfile along with jibx.
> Can some one please tell me what this refers to?
>
>  Thanks,
>  Evanthika
>

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