axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabien Couble" <fabien.couble.exte...@capgemini.com>
Subject Re: [AXIS2] problem addressing
Date Mon, 31 Jul 2006 08:42:01 GMT

forgot the previous message!! 
It was the soapmonitor module. it must be engaged at the server sid only!!
Sorry for disturbing!

  ----- Original Message ----- 
  From: Fabien Couble 
  To: axis-user@ws.apache.org 
  Sent: Monday, July 31, 2006 10:35 AM
  Subject: [AXIS2] problem addressing


  Hi all,

  I have a problem to engage the addressing module with a stub. 
  An exception is raised!!
  This is what I have done:

      ConfigurationContext configContext = 
                  ConfigurationContextFactory.createConfigurationContextFromFileSystem
                  ("C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/axis2/WEB-INF",

                   "C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/axis2/WEB-INF/conf/axis2.xml");

      WSTransferServiceStub stub = new WSTransferServiceStub(configContext, "http://localhost:8080/axis2/services/WSTransferService");

      AnyXmlTypeOutputParamDocument aa = stub.Get();

  I'd like to know if it is possible ans if yes, the way to do this.

  Regards 
  Fabien

  PS: For information, this is the exception raised:

  Exception in thread "main" 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:380)
  at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:523)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:492)
  at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:362)
  at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:280)
  at com.example.transfer_wsdl.WSTransferServiceStub.Get(WSTransferServiceStub...java:135)
  at client.WSTransferClient.main(WSTransferClient.java:37)


     
        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.

       


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.

Mime
View raw message