Hi Dennis, Thank you for the reply.
Saminda On Jan 13, 2008 9:39 AM, Dennis Sosnoski <[EMAIL PROTECTED]> wrote: > Hi Saminda, > > In order to use JiBX data binding you need to use the JiBX binding > compiler to modify your compiled classes with the added code needed by > JiBX. This error is saying that the classes you're using at runtime have > not been modified by the binding compiler. > > If you compare the before- and after- versions of the class files, you > should see that the file size is increased for the classes used in your > binding definition. There'll also be one or more new class files created > by the JiBX binding compiler, which have names starting with "JiBX_". > > Hope that helps, > > - Dennis > > -- > Dennis M. Sosnoski > SOA and Web Services in Java > Axis2 Training and Consulting > http://www.sosnoski.com - http://www.sosnoski.co.nz > Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 > > > Saminda Abeyruwan wrote: > > > > > > On Jan 3, 2008 8:46 PM, Saminda Abeyruwan <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> 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 < [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> 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 <http://www.wso2.org> > > > > > > > > > > -- > > Saminda Abeyruwan > > > > Senior Software Engineer > > WSO2 Inc. - www.wso2.org <http://www.wso2.org> > > > > > > > > > > -- > > Saminda Abeyruwan > > > > Senior Software Engineer > > WSO2 Inc. - www.wso2.org <http://www.wso2.org> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Saminda Abeyruwan Senior Software Engineer WSO2 Inc. - www.wso2.org
