Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 57696 invoked from network); 4 Jan 2008 16:41:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2008 16:41:35 -0000 Received: (qmail 53497 invoked by uid 500); 4 Jan 2008 16:41:21 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 53452 invoked by uid 500); 4 Jan 2008 16:41:21 -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 53441 invoked by uid 99); 4 Jan 2008 16:41:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 08:41:21 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of samindaa@gmail.com designates 209.85.198.189 as permitted sender) Received: from [209.85.198.189] (HELO rv-out-0910.google.com) (209.85.198.189) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 16:40:57 +0000 Received: by rv-out-0910.google.com with SMTP id c24so4344271rvf.28 for ; Fri, 04 Jan 2008 08:41:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=xs7gp03nyUqIXMSOQuJrcNHuA3iMr88mHpZw8LzQzP0=; b=GpHT1JSHTiSye8fijuQHCtcg8JMlWQVnGEtbarwdTmyX7kW3gWDl9UYj9UFzo7Hsa7f3vSe272sgUgaHAD6Snb9lyR6l9H85hbepxQate8u5M+EqdBPzF8lYiIwiFL04fP0DY7ds/TWIhG3moROAbfCun7Axi9qIofZc2nZ73I0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QHrWx7QNb9NvtCDhj1wfmT5/yLQEgNzO4tA2NqLPmguBRHZcAJW5kv9DWwJ2eRTGCM/90PU3N3eliPkNLC3PsRdWhN8bDcDb/DMrqyIMQF0vKYAnopIrjvTlg+0/WwnZ3xJtrPtlWIPMIOi/238Ii2bAcWH+LKMrfEVdhxYrBP0= Received: by 10.140.193.16 with SMTP id q16mr8947799rvf.173.1199464862721; Fri, 04 Jan 2008 08:41:02 -0800 (PST) Received: by 10.141.13.18 with HTTP; Fri, 4 Jan 2008 08:41:02 -0800 (PST) Message-ID: Date: Fri, 4 Jan 2008 22:11:02 +0530 From: "Saminda Abeyruwan" To: axis-dev@ws.apache.org Subject: Re: [Axis2] Jibx data-binding problem In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_33061_425726.1199464862707" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_33061_425726.1199464862707 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Jan 3, 2008 8:46 PM, Saminda Abeyruwan wrote: > The root cause of the exception coming as follows > > java.lang.NoSuchFieldException: JiBX_bindingList > > Thank you > > Saminda > > > On Jan 3, 2008 8:24 PM, Saminda Abeyruwan < samindaa@gmail.com> wrote: > > > Hi Devs, > > > > Based on Jibx documentation I've bean able to write an service and > > client using Jibx data binding for unwrapped scenario. > > > > Attached here with the aar, source, binding file and the wsdl. > > > > I've wrote the bean class and all the jars are available in my > > classpath. In deployment time, following exception keeps on happening, > > > > at java.lang.Thread.run(Thread.java:595) > > Caused by: > > java.lang.RuntimeException: Unable to access binding information for > > class org.wso2.wsas.jibx.library.beans.Book > > Make sure the binding has been compiled > > at > > org.wso2.wsas.jibx.services.LibraryServiceMessageReceiverInOut.getNewUnmarshalContext > > (LibraryServiceMessageReceiverInOut.java:144) > > at > > org.wso2.wsas.jibx.services.LibraryServiceMessageReceiverInOut.jibxReceiver0( > > LibraryServiceMessageReceiverInOut.java:178) > > at > > org.wso2.wsas.jibx.services.LibraryServiceMessageReceiverInOut.invokeBusinessLogic > > (LibraryServiceMessageReceiverInOut.java:42) > > > > > > Compiled class "org.wso2.wsas.jibx.library.beans.Book " is available in > > aar. Since this is not working I tried to copy the entire compiled class as > > jar to the main lib. Still prior exception is visible. > > > > What Am I doing wrong here. Any help would be greatly appreciated. > > > > > > Thank you > > > > Saminda > > > > -- > > Saminda Abeyruwan > > > > Senior Software Engineer > > WSO2 Inc. - www.wso2.org > > > > > -- > Saminda Abeyruwan > > Senior Software Engineer > WSO2 Inc. - www.wso2.org > -- Saminda Abeyruwan Senior Software Engineer WSO2 Inc. - www.wso2.org ------=_Part_33061_425726.1199464862707 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Jan 3, 2008 8:46 PM, Saminda Abeyruwan <samindaa@gmail.com> wrote:
The root cause of the exception coming as follows

java.lang.NoSuchFieldException: JiBX_bindingList

Thank you

Saminda


On Jan 3, 2008 8:24 PM, Saminda Abeyruwan < samindaa@gmail.com> wrote:
Hi Devs,

Based on Jibx documentation I've bean able to write an service and client using Jibx data binding for unwrapped scenario.

Attached here with the aar, source, binding file and the wsdl.

I've wrote the bean class and all the jars are available in my classpath. In deployment time, following exception keeps on happening,

at java.lang.Thread.run(Thread.java:595)
Caused by:
java.lang.RuntimeException: Unable to access binding information for class org.wso2.wsas.jibx.library.beans.Book
Make sure the binding has been compiled
    at org.wso2.wsas.jibx.services.LibraryServiceMessageReceiverInOut.getNewUnmarshalContext
(LibraryServiceMessageReceiverInOut.java:144)
    at org.wso2.wsas.jibx.services.LibraryServiceMessageReceiverInOut.jibxReceiver0 (LibraryServiceMessageReceiverInOut.java:178)
    at org.wso2.wsas.jibx.services.LibraryServiceMessageReceiverInOut.invokeBusinessLogic
(LibraryServiceMessageReceiverInOut.java:42)


Compiled class "org.wso2.wsas.jibx.library.beans.Book " is available in aar. Since this is not working I tried to copy the entire compiled class as jar to the main lib. Still prior exception is visible.

What Am I doing wrong here. Any help would be greatly appreciated.


Thank you

Saminda

--
Saminda Abeyruwan

Senior Software Engineer
WSO2 Inc. - www.wso2.org



--
Saminda Abeyruwan

Senior Software Engineer
WSO2 Inc. - www.wso2.org



--
Saminda Abeyruwan

Senior Software Engineer
WSO2 Inc. - www.wso2.org ------=_Part_33061_425726.1199464862707--