Skip to Content
0
Former Member
Jul 30, 2009 at 12:23 PM

SOAP AXIS adapter Error ClassNotFoundException:HeaderRemovalHandler

149 Views

Hi Group,

to pass a HTTP-Cookie through the PI to a SAP WAS Java, i use the SOAP AXIS Adapter.

When i run the http://<Server>:<Port>/XIAxisAdapter/MessageServlet, i got the result page with 0 missing components.

When i create a communication channel of type SOAP AXIS with the standard settings, the channel starts with no errors.

To set the Cookie information i use the How to Guide: "Set http-Header Parameters using the Axis Framework":

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f

But when i add the module settings as they are described in chapter 3.3, i got following error on starting the communication channel:

failed to initialize: org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: com.sap.aii.axis.soap.HeaderRemovalHandler Found in negative cache

Stack trace too big... I can send it by email

My configuration in the module settings is set as following:

xireq ->handler.type >java:com.sap.aii.axis.xi.XI30OutboundHandler

dcreq >handler.type >java:com.sap.aii.axis.xi.XI30DynamicConfigurationHandler

dcreq >key.b --


>write http://sap.com/xi/System/HTTP Cookie

dcreq >location.b --->header

dcreq >value.b --


>Cookie

rem-- >handler.type >java:com.sap.aii.axis.soap.HeaderRemovalHandler

rem-- >namespace ->http://sap.com/xi/XI/Message/30

trp-- ->handler.type >java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender

trp-- ->module.pivot >true

xires >handler.type >java:com.sap.aii.axis.xi.XI30OutboundHandler

Could it be possible that i got here a classLoader problem? If yes. do you think then i have to add the jar file that contains the HeaderRemovalHandler class into my sda file for Axis?

If yes, which jar is it?

Our Patch Level is 7.00 SP12

Does anyone have experience with that kind of error?

Any help would be very appreciated.

Thanks and best regards,

Sigi