Hi,
That is the problem :) The SOAP monitor is actually set to work in the serverside AFAIK and from your stacktrace, that seems to be the culprit. Please comment out the module element and see.

Ajith

On 7/10/06, Fabien Couble <[EMAIL PROTECTED]> wrote:
Yes, the soapMonitor is engaged in the client side
I have the following line in my axis2.xml file
 
<module ref="soapmonitor"/>
 
But is it really necessary?
 
Regards
Fabien
----- Original Message -----
Sent: Monday, July 10, 2006 10:59 AM
Subject: Re: [AXIS2] Problem to engage a module at the client side

Hi,
Did you enable the SOAPmonitor ? please check your Axis2.xml to see whether there are any SOAPMonitor handlers engaged in the client side

Ajith


On 7/10/06, Fabien Couble <[EMAIL PROTECTED]> wrote:
Hello,
I still have a problem to engage a module at the client side.
To engage the module, I just put the following command in my client code:
 
ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem("D:/eclipse_workspace/axis2", "D:/eclipse_workspace/axis2/conf/axis2.xml"); 
sender = new ServiceClient(configContext, null);
sender.engageModule(new QName(Constants.MODULE_ADDRESSING));
sender.engageModule(new QName("logging"));
sender.setOptions(options);
sender.sendReceiveNonBlocking(payload, callback);
 
But an exception is raised at the client side. The exception is the following:
 

Exception in thread "Axis2 Task" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at org.apache.axis2.handlers.soapmonitor.SOAPMonitorHandler.invoke(SOAPMonitorHandler.java:107)

at org.apache.axis2.engine.Phase.invoke(Phase.java:381)

at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)

at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:610)

at org.apache.axis2.transport.http.HTTPWorker.processRequest(HTTPWorker.java:292)

at org.apache.axis2.transport.http.server.SimpleConnectionThread.run(SimpleConnectionThread.java:92)

at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Unknown Source)

 

Please, help me because I'm very confused.

Fabien

 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.




--
Ajith Ranabahu
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.




--
Ajith Ranabahu

Reply via email to