cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP AXIS adapter Error ClassNotFoundException:HeaderRemovalHandler

Former Member
0 Kudos

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-c5f59380...

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Group,

i solved the problem: Although the documentation requires 7.00 Patchlevel 12, this might be not enough, because the Software component SAP-XIAFC(adapter framework core) in 7.00 Patchlevel 12 Subversion 2 does not contain the required class HeaderRemovalHandler.

Current available of SAP-XIAFC for 7.00 Patchlevel 12 is Subversion 18. I do not know since which subversion the class is inside this component. But subversion 18 contains the class.

Regards,

Sigi