Hi group,

 

I am jumping in as well.. I got the same question what the recommended
way is in such a case? I got problems that the handlers were used for my
service and my stub communications which confused me.

 

Any standard ways here?

 

Matthias.

 

Von: Paul French [mailto:paul.fre...@kirona.com] 
Gesendet: Mittwoch, 14. Januar 2009 10:41
An: axis-user@ws.apache.org
Betreff: RE: Axis2 consumer within Axis2 provider classpath issue

 

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:rex.hundto...@eds.com] 
Sent: 14 January 2009 05:43
To: axis-user@ws.apache.org
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