Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 68162 invoked from network); 27 Sep 2006 13:50:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2006 13:50:28 -0000 Received: (qmail 29167 invoked by uid 500); 27 Sep 2006 13:50:23 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 29125 invoked by uid 500); 27 Sep 2006 13:50:23 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 29114 invoked by uid 99); 27 Sep 2006 13:50:23 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2006 06:50:23 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=chinthaka@opensource.lk; spf=permerror X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: error (idunn.apache.osuosl.org: domain opensource.lk from 209.68.5.15 cause and error) Received: from [209.68.5.15] ([209.68.5.15:1534] helo=relay01.pair.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 6C/30-27227-B918A154 for ; Wed, 27 Sep 2006 06:50:21 -0700 Received: (qmail 58713 invoked from network); 27 Sep 2006 13:50:16 -0000 Received: from unknown (HELO ?222.165.181.24?) (unknown) by unknown with SMTP; 27 Sep 2006 13:50:16 -0000 X-pair-Authenticated: 222.165.181.24 Message-ID: <451A819C.6080108@opensource.lk> Date: Wed, 27 Sep 2006 19:20:20 +0530 From: Eran Chinthaka Reply-To: chinthaka@opensource.lk User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: Error occurred while testing the CodeGen Tool References: <45190C5D.7040100@wso2.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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