cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SOAP adapter

Former Member
0 Kudos

Hi to all,

We are facing the problem with the SOAP Adapter.

Our scenario is divided in to two sub scenarios 1) File to SOAP (Multi Mapping) and 2) SOAP ->IDOC.

We are taking the content of the file using the file content conversion. So our first scenario will split the file into “N” number of SOAP messages.

The output of first scenario will call the second scenario that is SOAP to IDOC which is one to one mapping.

So if there are “N” numbers of SOAP messages in the first scenario then the second scenario will call “N” no of times and accordingly “N” IDOCs will be posted.

Directory configuration:

There are 4 communication channels, 2 Receiver determination, Integration Determination, Sender and Receiver agreement.

The error we are getting from the runtime Workbench-> Adapter Engine-> Communication Channel Monitoring.

In the communication channel monitoring for the Receiver SOAP communication channel it is giving the below error.

SOAP: response message contains an error XIServer/UNKNOWN/ModuleUnknownException - com.sap.aii.af.mp.module.ModuleException: com.sap.aii.af.service.cpa.impl.exception.CPADBException: Could not read CPAObject from DB, due to: No CPAObject with the given keys/values available in DB. caused by: com.sap.aii.af.service.cpa.impl.exception.CPADBException: Could not read CPAObject from DB, due to: No CPAObject with the given keys/values available in DB. at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1111) at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103) at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:250) at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103) at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:166) at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:421) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code)) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code)) at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code)) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code)) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code)) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code)) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code)) at java.security.AccessController.doPrivileged1(Native Method) at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code)) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code)) Caused by: com.sap.aii.af.service.cpa.impl.exception.CPADBException: Could not read CPAObject from DB, due to: No CPAObject with the given keys/values available in DB. at com.sap.aii.af.service.cpa.impl.container.DBAccess.readFromDBWhere(DBAccess.java(Compiled Code)) at com.sap.aii.af.service.cpa.impl.container.DBAccess.readFromDBWhere(DBAccess.java:676) at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getServiceByPartyService(AbstractLookupManager.java:446) at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.userHasPermission(AbstractLookupManager.java:1270) at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:852) ... 22 more

Can any one please help me in this.

Thanks and Regards,

Sandeep

Accepted Solutions (0)

Answers (2)

Answers (2)

agasthuri_doss
Active Contributor
0 Kudos

Hi Sandeep,

Can you check the Jar files, Try once again importing the Jar files.

Regards

Agasthuri Doss

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>SOAP: response message contains an error XIServer/UNKNOWN/ModuleUnknownException - com.sap.aii.af.mp.module.ModuleException: com.sap.aii.af.service.cpa.impl.exception.CPADBException: Could not read CPAObject from DB, due to: No CPAObject with the given keys/values

do you use any adapter modules?

did you check the CPA cache?

you can find the link in the XI FAQ ?

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

HI Michal,

In the SOAP sender communication channel by default under the Module tab we are getting the below information:

1)Module Name: sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

2)Type:Local Enterprise Bean

3)Module Key: soap

Can you please let me know the process of checking the CAP cache.

Do we need to restart the J2EE engine.

Thanks & Regards,

Sandeep.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>Can you please let me know the process of checking the CAP cache.

links are on my FAQ page

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>