on 10-11-2006 8:07 AM
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
Hi,
First of all I assume your Scenario is File -->SOAP Sync Scenario and from the SOAP Response , you are going to call IDoc .. ???
0. Check out the SOAP adapter is active or not .ie. change it and activate the channel again, refresh the CPACache and test the scenario.
1. Your WebService is Sync right ? Did you create 2 mappings ?
- File Req to SOAP Req
-SOAP Resp to Resp
I assume the error is in the response structure.
Test the Mapping
2. Check the wsdl structure and url given in the receiver SOAP channel. It should be url of the wsdl
3. Test the Webservice is executing correctly or not. You can trace via TCPGateway .. mentioned in the SAP note- 856597
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you import the ear file again and try it out. check whether all the lib files are updated one and included.
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please see the following note.
SAP Note :856597
Regards
chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.