• peter ha 3
  • NEWBIE
  • 5 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi Gurus,

I am new to Salesforce and learning new skills. Need some details regarding integrating SAP and Salesforce.

I have created a interface using SAP PI(with SAP ECC) .. its a SOAP to RFC synchronous interface, created a WSDL.

Tested the WSDL using SOAP UI, its working perfectly fine.

In Salesforce, I have created a Apex Class using that WSDL. Now, I need to know how to call this service.

Can anyone Help ?? ( I will provide the Apex Class generated from WSDL)

Regards,
Roopa





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?