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 Evanthika Amarasiri <ev...@wso2.com> on 2006/09/26 13:17:49 UTC
Error occurred while testing the CodeGen Tool
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
Re: Error occurred while testing the CodeGen Tool
Posted by Eran Chinthaka <ch...@opensource.lk>.
Thanks Anne.
Can we please add these links to our jibx document?
In addition to that I can see a link to jibx-example.html from
/xdocs/1_1/jibx/jibx-codegen-integration.html. But I can not see a
jibx-example.html inside xdocs. Dennis, do you like to fix it?
Thanks,
Chinthaka
Anne Thomas Manes wrote:
> 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 <ev...@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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Error occurred while testing the CodeGen Tool
Posted by Anne Thomas Manes <at...@gmail.com>.
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 <ev...@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