Hi All,
I am trying to use JiBX for my custom types used in an ejb web service
provider. I am using jboss-4.0.1RC1 and axis-1_2RC2-bin
I have done the binding compiler step by running
org.jibx.binding.ant.CompileTask ant task on my custom types.
After running this step the resultant custom type classes are
copied(replaced) to the same ejb jar file where other ejb classes
like ejb stateless session bean, ejb remote and component interfaces
exist.
However when I run a web service client to consume this ejb web
service I am getting below exception on my JBoss server :
12:15:43,294 FATAL [EmployeeSerializerFactory] Unable to configure
JiBX data binding
org.jibx.runtime.JiBXException: Unable to access binding information
for class com.emp.data.EmployeeHistory
Make sure the binding has been compiled
Root cause: java.lang.NoSuchFieldException: JiBX_bindingList
at
org.jibx.runtime.BindingDirectory.getBindingList(BindingDirectory.java:78)
at
org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:189)
at
com.aexp.wsaf.axis.jibx.JibxSerializerFactory.<init>(JibxSerializerFactory.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:276)
at
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:529)
Can anyone please tell why am I getting this error even though MY class files
have been processed by the JiBX binding compiler.
Thanks & Regards,
Kumar.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users