Skip to Content
avatar image
Former Member

ECC and Salesforce Integration Using SAP PI

Hi Experts,

I need to integrate salesforce and ECC using SAP PI.

for this requirement i exposed a WSDL from Soap sender aggrement and gave it to Salesforce.
I even tested it via SoapUI with PI user credentials which worked.
Now salesforce is not able to call the Webservice, since it is asking PI user and password.
Salesforce is not able to call the WSDL since when they generate the Class files on the provided WSDL, they could not find any place to pass userid and password.

They have only Cert_Name_X, Cert_Client_X,Cert_Password_X. We tried to send the data in that, but it is giving error that the provided certificate is not in salesforce.

Can any one guide how we integrate Salesforce and ECC with PI.

Thanks,

Sriram.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 21, 2012 at 06:49 AM

    Hi  Team,

    Thanks for the responses.

    Finally we sent the data using HTTP instead of SOAP with user authentication, it worked.

    Thanks & Regards,
    Sriram D.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sriram,

      You can work out the Salesforce to SAP PI using the SOAP adapter. You can use the option in sender soap adapter for HTTPs communication with Client Certificate authorization( Http Security Level).

      If you are using SAP Webdispatcher then you need to check whether it handles SOAP calls. I had earlier faced issues with SAP Webdispatcher when we went with Apache Webdispatcher and it worked.

      Regards

      Ravijeet

  • Jun 21, 2012 at 01:11 PM

    Hi,

    >>>Can any one guide how we integrate Salesforce and ECC with PI.


    have you seen this blog and it's important references at the end ?

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

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 21, 2012 at 01:33 PM

    Hi Sriram,

                     have you downloaded the WSDL in XML format to check if the fields SFDC team is searching for is present or not? The WSDL needs to be modified manually sometimes to make it show the fields properly. In the blog mentioned by Michal , please go through references1 and 2. In one of them you will find author is showing the need to modify the WSDL.

    regards

    Anupam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2012 at 06:41 AM

     

    Hi Michal / Anupam,

    Thanks for the response.

    Do you know how do salesforce call PI Wsdl without passing the userid and password?

    When the WSDL  is generated in PI and sent to Salesforce, they have generated some class files on that and found that there are only 3 fileds which are below. So we are not aware how to pass the userid and password.

     

            public String clientCertName_x;
            public String clientCert_x;
            public String clientCertPasswd_x;

    The salesforce is not able to call the PI at all.

    They are not able call the provided WSDL from PI using PI credentials.

    Does any one had this problem?

    Thanks & Regards,
    Sriram D,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 25, 2012 at 11:45 AM

    Hi Experts,

    Thanks for the response.

    Do you know how do salesforce call PI Wsdl without passing the userid and password?

    When the WSDL  is generated in PI and sent to Salesforce, they have generated some class files on that and found that there are only 3 fields which are below. So we are not aware how to pass the userid and password.

      

            public String clientCertName_x;
            public String clientCert_x;
            public String clientCertPasswd_x;

    The salesforce is not able to call the PI with the provided credentials at all.

    Do we need to use only SessionID and Token to call PI from salesforce?

    Does any one have the same issue?

     

    Thanks & Regards,
    Sriram D,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Anupam Ghosh

      Hi  Anupam,

      Thanks for the response.

      When I import the WSDL, it prompted for userid and password, I entered there.

      Before executing in SOAPUI, we enter the userid and password in soap input request in Authorization section or menu. hope you are asking it.

      Thanks & Regards,
      Sriram D.