The problem is that the JibxSoap build was built with an older version
of JiBX. I should have updated this long ago, but got caught up working
on a major redesign/restructuring of JibxSoap - which has, of course,
taken much longer than I'd planned on. I'll try to get a minor update
out soon so users don't encounter this problem.
- Dennis
Mocky Habeeb wrote:
Looks like beta3c to me.
Mocky
-----Original Message-----
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of
*MUHAMMAD IQBAL
*Sent:* Thursday, October 06, 2005 2:37 AM
*To:* [email protected]
*Subject:* RE: [jibx-users] Unable to initialize unmarshalling
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
------------------------------------------------------------------------
From: /"Mocky Habeeb" <[EMAIL PROTECTED]>/
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
Dear 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
-------------------------------------------------------
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-users
------------------------------------------------------- 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-users
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users