cancel
Showing results for 
Search instead for 
Did you mean: 

SFDC to SAP PI web service calls

Former Member
0 Kudos

Hello - I have a scenario where i need  to invoke web service call from SFDC to SAP PI by using SOAP Sender adapter at PI and back to CRM using PROXY. SFDC has shared the WSDL which we have imported and created  End point on sender agreement on PI 731 . These calls started to fail with 401 authentication failure . Reason these calls expect user id and password to be passed along with service calls . But SFDC cannot call with credentials as this is standard SFDC web service not custom to pass credentials .

So i have installed client certificates from SFDC on Sender agreement on SAP PI and tried to invoke this call wihtout credentials . The calls still fails with 401 Authentication . One more thing , we have a Web dispatcher to redirect the call to SAP PI .  So i looked at some of the traces in SAP PI but there are no logs registered . So not sure what else can be done . I referred some blogs but this doesnt explain how to call without credentials from SFDC to SAP PI with Client certificates .

Any suggestion is highly appreciated .

Thanks,

Sitaraman

Accepted Solutions (0)

Answers (4)

Answers (4)

naveen_chichili
Active Contributor
0 Kudos

Hi Sitaraman,

You need to share your SAP PI user credentials to SFDC team and they need to update the same in their server.

once the user credentials are updated you can try testing the interface.

Thanks,

Naveen

Former Member
0 Kudos

Hi,

Please add credential at the url at the time of creation of wsdl like

generated url &&sap-user=abc&&sap-password=qwe

Otherwise share credential with them to update it on server.

Thanks

gagandeep_batra
Active Contributor
0 Kudos

Hi Sitaraman,

can you check with SOAP UI also,it is working fine with that or not...

Former Member
0 Kudos

Gandadeep/Pavan - Thank you for responses but here are things i did based out of your suggestion .

1. SOAP UI calls are failing with 401 error after client cerficates are installed in SAP PI and in error description i see client authentication failure message due to certificates of SFDC.

Pavan - I am not sure i can share the wsdl to SFDC team as this is shared by them to me to create external definations  .All that i did was to generate end-point with above mentioned BIG IP in our system and shared the end-point to SFDC to submit call  to SAP PI .

So i am planning to install tcpgw to monitor the traffic to see the issue . Are there any ideas how we can monitor these calls as i am not seeing response message in SFDC very helpful . It just shows 401 Authentication failure .

Thanks,

Sitaraman

gagandeep_batra
Active Contributor
0 Kudos

hi sitaraman,

are you able to ping your endpoint from your web browser please check, and

test with webservice navigater also

Regards

gAgan

former_member200386
Active Participant
0 Kudos

Hi Sitaraman,

If SFDC at sender side. Please Share Generate PI WSDL and share with them. SFDC accepts Sych wsdl only.

Share the PI credentials to SFDC team to call our WSDL file.

Make sure that Fire wall & PORT are open  .(Check with Network team).

Thanks & Regards,

Pavan

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

Did you checked the WSDL, URL format and port?

try to test the WSDL in SOAP UI. so that you can find more information about the issue.

Regards

Bhargava krishna

Former Member
0 Kudos

After installing client certificates of SFDC can we invoke valide call from SOAP UI ? I will try that too .

Our URL was successfull  from  SOAP UI with credentials .

A small correction , we have shared the BIG IP of SAP PI landscape with SFDC team rather direct host name and port .

https://BIGIP here /XISOAPAdapter/MessageServlet?senderParty=&senderService=XXXXX&receiverParty=&receiverService=&interface=QStatus_Out_SI&interfaceNamespace=urn:xxxxxxxx:xxxx:xxxx