Hi Serkan, Xsd2Jibx is unfortunately very out of date and not maintained. I'm working on a replacement, and hope to have that out in May. In the meantime, the Axis2 page http://ws.apache.org/axis2/1_1_1/userguide-creatingclients-jibx.html has instructions for how you can use Xsd2Jibx to generate code and bindings for simple schemas.
- Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Serkan Sunel wrote: > > Hi All, > > I am trying to generate jibx bindings for my web service, > > I am getting the following error.. > > I am giving the classpath info also.. > > I believe that I am using lastest versions of the jars.. > > Any idea about it ? > > > > Thanks > > > > > > Error: > > [EMAIL PROTECTED] wsdl] java org.jibx.xsd2jibx.Generate > /home/serkans/products/platform/current/canvas/platform/parlayx/wsdl/parlayx_common_types_2_1.xsd > > -d src > > log4j:WARN No appenders could be found for logger > (org.jibx.xsd2jibx.FileXsdResolver). > > log4j:WARN Please initialize the log4j system properly. > > org.jibx.xsd2jibx.GeneratorException: unable to unmarshall > > Root cause: org.jibx.runtime.JiBXException: Binding information for > class org.jibx.xsd2jibx.XsdSchema must be recompiled with current > binding compiler (compiled with jibx-rc1, runtime is jibx_1_1_3) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:380) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:254) > > at org.jibx.xsd2jibx.Generator.execute(Generator.java:170) > > at org.jibx.xsd2jibx.Generate.generate(Generate.java:131) > > at org.jibx.xsd2jibx.Generate.main(Generate.java:182) > > Caused by: org.jibx.runtime.JiBXException: Binding information for > class org.jibx.xsd2jibx.XsdSchema must be recompiled with current > binding compiler (compiled with jibx-rc1, runtime is jibx_1_1_3) > > at > org.jibx.runtime.BindingDirectory.getFactoryFromName(BindingDirectory.java:126) > > at > org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:211) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:376) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:254) > > at org.jibx.xsd2jibx.Generator.execute(Generator.java:170) > > at org.jibx.xsd2jibx.Generate.generate(Generate.java:131) > > at org.jibx.xsd2jibx.Generate.main(Generate.java:182) > > Cause: org.jibx.runtime.JiBXException: Binding information for class > org.jibx.xsd2jibx.XsdSchema must be recompiled with current binding > compiler (compiled with jibx-rc1, runtime is jibx_1_1_3) > > at > org.jibx.runtime.BindingDirectory.getFactoryFromName(BindingDirectory.java:126) > > at > org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:211) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:376) > > at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:254) > > at org.jibx.xsd2jibx.Generator.execute(Generator.java:170) > > at org.jibx.xsd2jibx.Generate.generate(Generate.java:131) > > at org.jibx.xsd2jibx.Generate.main(Generate.java:182) > > [EMAIL PROTECTED] wsdl] > > [EMAIL PROTECTED] wsdl] echo $CLASSPATH | tr : \\n | grep jibx > > /home/serkans/downloads/xsd2jibx/lib/xsd2jibx.jar --àdowload lastest jar > > /release/external/apache/webservices/axis2java/1.1.1/lib/axis2-jibx-1.1.1.jar > > /release/external/jibx/1.1.3/lib/jibx-bind.jar > > /release/external/jibx/1.1.3/lib/jibx-extras.jar > > /release/external/jibx/1.1.3/lib/jibx-run.jar > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users