function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anu_dev1.396453057561326E12anu_dev1.396453057561326E12 

Issue with Saleforce - SAP interface using PI

We are working on Salesforce – SAP interface using PI as middleware.
Salesforce Dev Org (Spring’14) – PI Development server interface is working fine
Salesforce QA Org (Winter’14) – PI Quality server interface

PI is able to connect to SFDC n get session ID
But when PI calls SFDC with data n Session id its getting following error
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sf="http://soap.sforce.com/schemas/class/tridentUpdateInqWebService"><soapenv:Body><soapenv:Fault><faultcode>sf:INVALID_SESSION_ID</faultcode><faultstring>INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session. Session not found, missing session key: 00DL000000296CU!AQMAQG.PlIsxw8t4fzqBwYsVfCuJPcd_XVVCI_cAsad88N3rLpXfyJcD3o4WCgRFSSEIZ6B..srczLoj7q.H11t7310fH7B9
This is expected, it can happen if the session has expired and swept away, or if the user logs out, or if its just someone trying to hack in. </faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>

However, we are able to connect to Salesforce using SOAP UI

Any idea what could be the issue?
Vinita_SFDCVinita_SFDC
Hi,

Please check in "session settings" the "Lock sessions to the IP address from which they originated" is unchecked.

"lock sessions to originating IP" should not be checked.
anu_dev1.396453057561326E12anu_dev1.396453057561326E12
Thanks Vinita. That option is unchecked. Also, we are able to login via SOAP UI using the same session ID Best regards, Anu Sharma Accenture | India Delivery Centre | Gurgaon Mobile Number •: +91 9899324676 E-Mail/OC: anu.sharma@accenture.com
Vinita_SFDCVinita_SFDC
Sorry i missed PI, please check following blog on this:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/06/02/troubleshooting-sap-pi-and-salesforcecom-integration-scenario

Hope it helps!
peter ha 3peter ha 3
Hi,

check out this SAP certifed adapter for Salesforce:
 http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/05/02/salesforce-adapter-for-sap-pipo

kind regards.