Skip to Content
avatar image
Former Member

SFDC to SAP PI web service calls

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Sep 12, 2013 at 12:34 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2013 at 01:56 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2013 at 02:12 PM

    Hi Sitaraman,

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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 13, 2013 at 11:10 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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