cancel
Showing results for 
Search instead for 
Did you mean: 

SalesForce Integration

itabhishek9
Participant
0 Kudos

Hi SDNites,

I am trying to integrate SAP PI 7.31 dual stack system with Salesforce and my requirement is to query the salesforce system to get some details. In order to do that I have used Enterprise WSDL and using SOAP UI, I am able to establish connectivity and get the session ID and also query the salesForce system to get the details.

But when I try to simulate the same in SAP PI system, I am getting the error as,

Error : Check authEndpoint. It must contain '/services/Soap/u/'. authEndpoint specified https://login.salesforce.com/services/Soap/c/36.0 (Software version1.0.17).

Here https://login.salesforce.com/services/Soap/c/36.0 is the Login Authentication Endpoint which I have configured in Communication channel (Used Advataco Adapter). Can you please guide me what is the reson for the same.

Also when I place the same link in browser, I am getting HTTP error 405

Problem accessing /services/Soap/c/36.0. Reason:

    GET not supported

Regards,

Abhi

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos
itabhishek9
Participant
0 Kudos

Thanks for the response Raghu.

I have followed the same approach as mentioned in blog. The link https://login.salesforce.com/services/Soap/c/36.0 which I have mentioned is the one which I get in SOAP UI when I import the WSDL.

Regards,

Abhishek

former_member186851
Active Contributor
0 Kudos

Hello Abhishek,

Are you getting response in SOAP UI?

former_member186851
Active Contributor
0 Kudos

Check with the below URL Abhishek

https://www.salesforce.com/services/Soap/c/18.0

itabhishek9
Participant
0 Kudos

Yes i am getting the response.

1. In 1st callI get session ID

2. In 2nd call I retrieve the data I wanted to.

Regards,

Abhi

former_member186851
Active Contributor
0 Kudos

Once try with URL mentioned.

itabhishek9
Participant
0 Kudos

Still the same results. Getting the same error as mentioned (Only the URL changes which you have provided)

Error : Check authEndpoint. It must contain '/services/Soap/u/'. authEndpoint specified https://www.salesforce.com/services/Soap/c/18.0 (Software version1.0.17).

former_member186851
Active Contributor
0 Kudos

One more cross check Abhishek,Did you maintain Soap action as "Login"?.

itabhishek9
Participant
0 Kudos

Hi Raghu,

I am not using SOAP channel. I am using SFDC Advantaco adater for the integration.

Also as this being Sender Communication channel, I cannot see any field where I can populate the Action as
"Login". The question here is do I need to and if yes where in Advantaco adapter

Regards,

Abhishek

former_member186851
Active Contributor
0 Kudos

Oh ..oops.Sorry Abhishek,Not much knowledege in Advancto SFDC,Lets wait for other expert comments.

One small thing,for Sending data to SFDC why Sender adapter it should be receiver right?