on 05-15-2013 1:31 PM
Hi Bhavesh,
The following error is obtained:
*** START APPLICATION TRACE ***
during processing the payload. Error when calling an adapter by using the
communication channel CC_SOAP_Receive_SessionCreate (Party: , Service:
BC_Successfactors_Two_D, Object ID: 6c1a8e6f431136dbab6806676d0d85e0) XI AF API
call failed. Module exception:
'com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve
outbound binding for the given P/S/A values:
FP=;TP=;FS=Mapping;TS=BC_Successfactors_Two_D;AN=Successfactors_Sync_In;ANS=http://DemoSuccessfactors/SessionIDCreate/PS001;
in the current context [Unknown]. '. Cause Exception: 'Couldn't retrieve
outbound binding for the given P/S/A values:
The binding between receiver channel, business component and namespace is visible in the sceenshots given.
Can you please help in pointing the mistake in this scenario?
I am using the following SOAP lookup code in Single stack PI 7.30:
AbstractTrace trace = container.getTrace();
String sessionId = "";
String loginxml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:urn=\"urn:sfobject.sfapi.successfactors.com\"><soapenv:Header/><soapenv:Body><urn:login><urn:credential><urn:companyId>CompanyID</urn:companyId><urn:username>USERNAME</urn:username><urn:password>PASSWORD</urn:password><urn:developerKey/></urn:credential><urn:param><urn:name/><urn:value/></urn:param></urn:login></soapenv:Body></soapenv:Envelope>";
try
{
Channel channel = LookupService.getChannel("BC_Successfactors_Two_D","CC_SOAP_Receive_SessionCreate");
SystemAccessor accessor = null;
accessor = LookupService.getSystemAccessor(channel);
InputStream inputStream = new ByteArrayInputStream(loginxml.getBytes());
Payload payload = LookupService.getXmlPayload(inputStream);
Payload SOAPOutPayload = null;
SOAPOutPayload = accessor.call(payload);
InputStream inp = SOAPOutPayload.getContent();
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse(inp);
NodeList sessionId1 = document.getElementsByTagName("sessionId");
Node node = sessionId1.item(0);
if (node != null)
{
node = node.getFirstChild();
if (node != null)
{
sessionId = node.getNodeValue();
}
}
}
catch(Exception e)
{
throw new RuntimeException(" UserDefined: No Values from SOAPLOOKUP");
}
return sessionId;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhat,
1) Perform CPA cache and Full cache once. and re-activate the communication channel.
2) If you still facing the issue, make some dummy changes and activate it again and see.
3) test the interface with the test configuration tool, which is available in ID?
if not copy the payload from message mapping, and give the sender and receiver communication partys. and test it.. if everything is perfect all the components should be in green.
Then we can able to identify the issue,
For step by step guide for the same refer below link.
also check the pipeline steps in moni and identify, in which step it went wrong..
Refer below link for the same issue
http://scn.sap.com/thread/3239187
Regards
Bhargava krishna
Hi Sir,
Yes I have created a Dummy ICO as well as SOAP Receiver CC and called same channel in Dummy ICO on Receiver Side.
Stilll I am facing below error & My SAP PI Verison is SAP PI 7.3 SP08
Please see also attached error lookup screenshot.
error log ----------------------------------------------------
Error occurred calling adapter
[EXCEPTION]
com.sap.aii.af.service.api.AFException: XI AF API call failed.
Module exception: 'com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values:
FP=;
TP=;
FS=Mapping;
TS=BC_Successfactors_Two_D;
AN=Dummy_Inbound_Interface;
ANS=http://DemoSuccessfactors/SessionIDCreate/PS001; in the current context [Unknown]. '.
Cause Exception: 'Couldn't retrieve outbound binding for the given P/S/A values:
FP=;TP=;FS=Mapping;TS=BC_Successfactors_Two_D;AN=Dummy_Inbound_Interface;ANS=http://DemoSuccessfactors/SessionIDCreate/PS001; in the current context [Unknown]. '.
at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
at com.sap.aii.af.service.api.AdapterAccess.call(AdapterAccess.java:100)
at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.process(AdapterProxyLocal.java:83)
at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.call(SystemAccessorInternal.java:55)
at com.sap.aii.mapping.lookup.SystemAccessor.call(SystemAccessor.java:115)
at com.sap.xi.tf._MessageMapping_SessionStatusfetch_UDF_.LookUP(_MessageMapping_SessionStatusfetch_UDF_.java:122)
Regards
PS
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 | |
10 | |
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.