Hi Mocky,
I am using a newer version of the jiBX binding compiler but still the same issue, i have displayed the verbose information when compiled the binding.xml file, its displayed the version jibx-rc1:
**************************
binding.xml
Using paths:
.
../lib/jibx-run.jar
../lib/jibx-bind.jar
bcel.jar
jibx-run.jar
xpp3.jar
.
Using bindings:
binding.xml
Running binding compiler version jibx-beta3c
binding binding:
context (mp#=1) (cv#=0) (fm#=0)
mapping class com.etilize.inquire.services.Emp to element emp
element wrapper emp
object binding for com.etilize.inquire.services.Emp
structure ordered
element ename from optional property ename (java.lang.String)
element title from optional property title (java.lang.String)
binding binding:
context (mp#=1) (cv#=0) (fm#=0)
mapping class
com.etilize.inquire.services.Emp to element emp
element wrapper emp
object binding for com.etilize.inquire.services.Emp
structure ordered
element ename from optional property ename (java.lang.String)
element title from optional property title (java.lang.String)
Wrote 3 files
com.etilize.inquire.services.Emp output file size is 2992 bytes
Found 10 methods:
void marshal
void unmarshal
int JiBX_getIndex
void setEname
java.lang.String getEname
void setTitle
java.lang.String getTitle
com.etilize.inquire.services.Emp JiBX_binding_newinstance_1_0
void JiBX_binding_unmarshal_1_0
void JiBX_binding_marshal_1_0
com.etilize.inquire.services.JiBX_bindingEmp_access output file size is 1883 by
tes
Found 4 methods:
void marshal
java.lang.Object unmarshal
boolean isPresent
boolean isExtension
com.etilize.inquire.services.JiBX_bindingFactory output file size is 2017 bytes
Found 9 methods:
org.jibx.runtime.IBindingFactory getInstance
org.jibx.runtime.IMarshallingContext createMarshallingContext
org.jibx.runtime.IUnmarshallingContext createUnmarshallingContext
int getCompilerVersion
java.lang.String getCompilerDistribution
[Ljava.lang.String; getNamespaces
[Ljava.lang.String; getMappedClasses
[Ljava.lang.String; getElementNamespaces
[Ljava.lang.String; getElementNames
Kept 0 files unchanged:
Deleted 0 files:
****************************
Iqbal
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: [jibx-users] Unable to initialize unmarshalling
Date: Wed, 5 Oct 2005 06:52:43 -0400
I looks like you may need to use the newer version of the JiBX binding compiler> ...must be recompiled with current binding compiler (compiled with jibx-beta3c, runtime is jibx-rc1)Mocky-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MUHAMMAD IQBAL
Sent: Wednesday, October 05, 2005 12:31 AM
To: [email protected]
Subject: [jibx-users] Unable to initialize unmarshalling------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-usersDear All,
I have deployed my jiBX web service but when i call it from browser using my service url http://localhost:8080/jibxExaple/EmpService?WSDL its generating exception:
javax.servlet.ServletException: Unable to initialize unmarshalling org.jibx.soap.server.SOAPServlet.initServices(SOAPServlet.java:64) org.jibx.soap.server.SOAPServlet.init(SOAPServlet.java:128) javax.servlet.GenericServlet.init(GenericServlet.java:211) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534)root cause
org.jibx.runtime.JiBXException: Binding information for class org.jibx.soap.server.ServiceDefinition must be recompiled with current binding compiler (compiled with jibx-beta3c, runtime is jibx-rc1) org.jibx.runtime.BindingDirectory.getFactoryFromName(Unknown Source) org.jibx.runtime.BindingDirectory.getFactory(Unknown Source) org.jibx.soap.server.SOAPServlet.initServices(SOAPServlet.java:60) org.jibx.soap.server.SOAPServlet.init(SOAPServlet.java:128) javax.servlet.GenericServlet.init(GenericServlet.java:211) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534)Can any one solve this problem?Thanks and Regards,Muhammad Iqbal
