[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    xmlbeans and axis2
From:       "Vinh Nguyen \(vinguye2\)" <vinguye2 () cisco ! com>
Date:       2007-02-09 9:40:58
Message-ID: F73CB8E31BDB1E42AFAA727635416E340321150D () xmb-sjc-22c ! amer ! cisco ! com
[Download RAW message or body]

Hello,
I'm using XmlBeans2.2.0 to generate java classes from my xsds, and am
primarily using the classes for serialization to/from xml.  I am
deploying the generated classes in an Axis2 application.  But, I see
that Axis2 already has a xbean-2.2.0.jar, which appears to be the same
as the xbean.jar in the XmlBeans2.2.0 libs.  If I deploy all the XmlBean
jars along with the Axis2 jars, I seem to get class conflicts at
runtime.  Does anyone know what jars in XmlBeans I really need to deploy
with my app, or can I just use the ones in Axis2?  If I need to deploy
jars from both, how should I prevent conflicts between jars that contain
the same classes, although possibly different class versions?  Any help
is appreciated, thanks!
-Vinh

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=063573209-09022007><FONT face=Arial 
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=063573209-09022007><FONT face=Arial size=2>I'm using 
XmlBeans2.2.0 to generate java classes from my xsds, and am primarily using the 
classes for serialization to/from xml.&nbsp; I am deploying the generated 
classes in an Axis2 application.&nbsp; But, I&nbsp;see that Axis2 already has a 
xbean-2.2.0.jar, which appears to be the same as the xbean.jar in the 
XmlBeans2.2.0 libs.&nbsp; If I deploy all the XmlBean jars along with the Axis2 
jars, I seem to get class conflicts at runtime.&nbsp; Does anyone know what jars 
in XmlBeans I really need to deploy with my app, or can I just use the ones in 
Axis2?&nbsp; If I need to deploy jars from both, how should I prevent conflicts 
between jars that contain the same classes, although possibly different class 
versions?&nbsp; Any help is appreciated, thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=063573209-09022007><FONT face=Arial 
size=2>-Vinh</FONT></SPAN></DIV></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic