cancel
Showing results for 
Search instead for 
Did you mean: 

Issue about calling webservice go through PI but not through Logic port directly

felix0315
Explorer
0 Kudos

Hello Experts,

I have a webservice proxy should directly connect to third-part system with a logic port, however, many errors happened with message as below, I found webservice tried to connect PI but not third-part system directly with logic port. because there is no any configuration about this webservice consumption in PI side, so error happens.

by the way, the proxy objects were generated by ESR, but it calls webservice of 3rd-part system by logic port and not go through PI.

how it happens? any configuration goes wrong in ECC side? (logic port is configured well I checked)

and how can I solve this issue?

thank you very much.

thank you very much.

thank you very much.

Best regards,

Felix

<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
<SAP:P1>Configuration error on Adapter-Framework(AFW)-Server</SAP:P1>
<SAP:P2>com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=P72011;TS=;AN=BillOfMaterialCreateOrUpdateNotification_Out;ANS=http://XXXXxml.com/XX/PDM/ProductDataManagement/Billofmaterial_v2; 
at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:206) 
at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:170) 
at com.sap.aii.af.service.cpa.InboundRuntimeLookup.<init>(InboundRuntimeLookup.java:88) 
at ......
<SAP:P3>Please check configuration for SOAP/XI sender agreement</SAP:P3>
<SAP:P4/>
<SAP:AdditionalText/>
<SAP:Stack>Fehler beim Empfangen per HTTP (Fehlercode: Configuration error on Adapter-Framework(AFW)-Server, Fehlertext: com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=P72011;TS=;AN=BillOfMaterialCreateOrUpdateNotification_Out;ANS=http://XXXXxml.com/XX/PDM/ProductDataManagement/Billofmaterial_v2; ; 
at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:206) 
at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:170) 
at com.sap.aii.af.service.cpa.InboundRuntimeLookup.<init>(InboundRuntimeLookup.java:88) at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBinding(AbstractLookupManager.java:595) 

<Trace type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV" level="1">
<Trace type="T" level="1">URL for integration server read from global configuration</Trace>
<Trace type="T" level="1">URL= dest://SAPPX3000_PI</Trace>
<Trace type="B" name="CL_XMS_PLSRV_IE_ADAPTER-CALL_XMS_HTTP" level="1"/>
<Trace type="T" level="1">Addressing mode: CallIntegrationServer</Trace>
<Trace type="T" level="1">URL = dest://SAPPX3000_PI</Trace>
<Trace type="T" level="1">Host =</Trace>
<Trace type="T" level="1">Port =</Trace>
<Trace type="T" level="1">Transport protocol = HTTP</Trace>
<Trace type="T" level="1">Message protocol = 003001</Trace>
<Trace type="T" level="1">Path =</Trace>
<Trace type="T" level="1">Serializing message object...</Trace>
<Trace type="T" level="1">HTTP Multipart document length: 9539</Trace>
<Trace type="T" level="1">Timeout: 0</Trace>
<Trace type="T" level="1">HTTP-client: request sent</Trace>
<Trace type="T" level="1">HTTP-client: response received</Trace>
<Trace type="T" level="1">HTTP-client: status code = 500</Trace>
<Trace type="T" level="1">Deserializing message object...</Trace>
<img src="https://answers.sap.com/storage/temp/1644539-error.png">

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Felix!

As far as I could remember, if you don't set the logical port when creating proxy object - XI/PI Runtime will be used instead.

Otherwise, you should try something like this in your ABAP code:

CREATE OBJECT prxy EXPORTING  logical_port_name = 'LP_YOUR_PORT'.

Regards, Evgeniy.

felix0315
Explorer
0 Kudos

Hello Evgeniy,

Yes, you are right, this webservice can't get a logical port in run time(in program, it reads configuration in a customizing table for logical port), so it tries to send data to PI if there is a PI connection.

thank you very much.

best regards,

Felix

Answers (1)

Answers (1)

felix0315
Explorer
0 Kudos

Hello Experts,

My assumption is that if there is PI system connected to ECC, the ECC proxy objects that were generated by ESR will go to PI instead of logic port, am I right?

Best regards,

Felix