Apologies for jumping in on this thread but I too would be very interested
in the recommended way to provide an AXIS2 web service which may contain
AXIS2 client stubs to other web services.
 
I believe I read some where that you need to use the same
ConfigurationContext for both? This would only make sense to me if you plan
to provide the same handlers and modules for both.
 
For example I have a web service client stub that works great (as a jar
file) - the axis2.xml file is in the classpath
 
I have an AXIS2 web service which works great where the axis2.xml file is in
the WEB-INF directory. (axis2 included as part of the web application)
 
How would you combine the two?

  _____  

From: Hundtofte, Rex A [mailto:[email protected]] 
Sent: 14 January 2009 05:43
To: [email protected]
Subject: Axis2 consumer within Axis2 provider classpath issue



I am getting a NoClassDefFoundError when my Axis2 consumer code is executed
inside of an Axis2 provided web service.  I have an aar file deployed to my
web server, the consumer code and generated client stub classes are in
separate jar files under the WEB-INF/lib directory.  The incoming request
processes fine but apparently the classloader that needs to load the
consumer Axis2 classes cannot find the Axis2 classes.  I appreciate any tips
on how I might resolve this issue?

Thanks, 
Rex Hundtofte 



__________ NOD32 3763 (20090113) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

Reply via email to