cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver SOAP AXIS Error

0 Kudos

Hello friends,

I am working on a synchronous RFC-> WS Scenario.

We are using certificates, which are alredy installed on the server.

I am facing the below error:

<SAP:Error
xmlns:SAP
="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">


In Moni:
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException:
handler is not instantiated
</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>

In communication Channel:

Delivery of the message to the application using
connection SOAP_http://sap.com/xi/XI/System failed, due to:
com.sap.aii.af.ra.ms.api.RecoverableException: handler is not instantiated:
org.apache.axis.ConfigurationException: handler is not instantiated
org.apache.axis.ConfigurationException: handler is not instantiated at
com.sap.aii.adapter.axis.modules.HandlerCore.process(HandlerCore.java:69) at
com.sap.aii.adapter.axis.modules.HandlerBean.process(HandlerBean.java:88) at
com.sap.aii.af.mp.module.SModuleLocalLocalObjectImpl0_0.process(SModuleLocalLocalObjectImpl0_0.java:175)
at
com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292)
at
com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:343)
at
com.sap.aii.af.listener.AFWListenerLocalObjectImpl0_0.onMessage(AFWListenerLocalObjectImpl0_0.java:103)
at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:276) at
com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1074) at
com.sap.aii.af.ra.ms.impl.core.queue.consumer.RequestConsumer.onMessage(RequestConsumer.java:118)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917) at
com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56) at
com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at
java.security.AccessController.doPrivileged(Native Method) at
com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at
com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) .
Setting message to status failed.

Kindly help.

Regards,

Pooja

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi All,

Thanks for your help.

The issue was resolved.

We were missing two optional components i.e. xmlsec and opensaml jar files.

This was done with the help of SAP note 1776179.

Regards,

Pooja

wilsonxavier1
Participant
0 Kudos

Thanks by hint, solved my issue.

Regards

Answers (3)

Answers (3)

0 Kudos

Hi Gagan/Bhavani,

I have already checked the FAQ. I have again created the .sda file as per the SAP note using the sdamakertool.

I included all the components (required + optional except sandesha.jar and xmlsec.jar) while creating the sda file.

Now after the deployment and restart of the J2ee we are getting the below error. Earlier the error was Handler not instantiated and now it is NoClassDefFound:

failed to initialize: org.apache.axis.ConfigurationException: java.lang.NoClassDefFoundError: org/apache/ws/axis/security/WSDoAllSender ------------------------- Loader Info ------------------------- ClassLoader name: [sap.com/com.sap.aii.adapter.axis.app] Parent loader name: [Frame ClassLoader] References:   common:service:http;service:servlet_jsp   service:ejb   common:service:iiop;service:naming;service:p4;service:ts   service:jmsconnector   library:jsse   library:servlet   common:library:IAIKSecurity;library:activation;library:mail;library:tc~sec~ssl   library:ejb20   library:j2eeca   library:jms   library:opensql   common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore   interface:resourcecontext_api   interface:webservices   interface:cross   interface:ejbserialization   service:com.sap.aii.adapter.xi.svc   service:com.sap.aii.af.security.service   service:com.sap.aii.af.cpa.svc   common:service:com.sap.aii.af.ms.svc;service:com.sap.aii.af.svc   sap.com/com.sap.aii.af.app   library:com.sap.aii.security.lib   interface:tc~sec~destinations~interface   interface:com.sap.aii.security.interface   library:com.sap.aii.af.axisproviderlib   library:com.sap.aii.af.axis.lib   library:com.sap.aii.af.jmsproviderlib   library:com.sap.tc.Logging   library:com.sap.util.monitor.jarm   interface:security   service:tc~sec~destinations~service   interface:appcontext   library:com.sap.aii.messaging.runtime   library:com.sap.guid   library:com.sap.aii.af.lib   library:sapxmltoolkit Resources:   /usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.aii.adapter.axis.app/EJBContainer/client

Attached is the screen shot of the module config which we are using in the channel. we have opted for Web Service Security with Certificates.

We are configuring SOAP Axis on PI 7.0.

Please let me know if I am missing anything.

Regards,

Pooja

Bhavani_Baisani
Participant
0 Kudos
gagandeep_batra
Active Contributor
0 Kudos

Hi Pooja,

did you check the following FAQ related to SOAP AXIS... that may help you i think...

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1039369

Regards

GAgan