cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI 7.1 EHP 1 - SALESFORCE Integration

Former Member
0 Kudos

Hi All,

This is the link for SFDC POC : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a76cfa-4966-2d10-aba7-da496d9b5...

.

I have the below understanding on the SFDC interfaces, which is a two fold approach:

1. I call the Login webservice of SFDC passing the Username and password+security token in order to get the session id and server url.

2. This session id and server url I use in my webservice call to SFDC. These values we need to set in all SOAP Header while sending a SOAP request.

What I understand is I need to do a soap lookup( Login webservice) and get the session id and server url and use this in making the next SOAP Call [Have used java mapping to make first soap lookup call to Login webservice and in the same java mapping set the SOAP header for final soap call] . I need to set this session id and server url in the SOAP Header while sending a SOAP Request.

Can this be achieved in AXIS Adapter or SOAP Adapter ? Is their any other alternative or best practice to integrate with SFDC.

Regards

Ravijeet

Edited by: RAVIJEET.SAP.PI on Feb 23, 2011 10:24 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Rajeev,

SFDC integration is not a big challenge, recently i had done SFDC and ECC integration using SAP PI EHP1, develop interface SOAP>PI<RFC approach and provide WSDL and Service URL to SFDC team.

then they have APEx environment there they will write coding to implete your service, you have to provide your PI system credtials to them.

PI point of view develop interface, publish the sender agrement in service registry.

Regards,

Raj

Former Member
0 Kudos

Hi All,

I also have webdispatcher setup for intercepting all http calls to and from external systems into SAP PI. I am able to send a soap request but unable to get the response, wanted to know if web dispatcher handles soap calls and do I need to do some extra configuration at web dispatcher side ?

Thx in advance

Ravijeet

Edited by: RAVIJEET.SAP.PI on Feb 24, 2011 7:07 PM

Former Member
0 Kudos

Hi Rajeev,

Normally all the the inbound message will hit the webdispatcher and then routed to the correct servers.

for the outbound messages webdispatcher will not come into picture. So you may need to do some configuration and googling

Former Member
0 Kudos

Hi Sunil,

Could you let me know if webdispatcher handles inbound SOAP calls coming to SAP PI.

I had a talk with a fellow consultant and he said that " The SOAP protocol is not supported by web dispatcher ".

Do you have any SAP documentation on how SOAP calls are handled in SAP PI through web dispatcher.

Thx in advance

Ravijeet

Former Member
0 Kudos

Hi All,

I am facing a weird situation in my Sync call to SFDC:

I am able to get the successful SOAP response on UPSERT request call to SFDC. I am able to see the SOAP response payload in message monitoring( adapter engine) but that message is not appearing in SXMB_MONI( Integration server). In response mapping I get the error - Premature end of file. I am using Do not use SOAP envelop in my SOAP adapter and I am using JAVA mapping to create my soap request and that request is successfully updating the SFDC and getting the success response message in RWB message monitoring. I am using a java mapping in the response to strip the soap envelope and then do a message mapping to map it back to the calling ABAP Proxy.

<?xml version="1.0" encoding="UTF-8" ?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com">

<soapenv:Body>

<upsertResponse>

<result>

<created>true</created>

<id>001P000000HgtomIAB</id>

<success>true</success>

</result>

</upsertResponse>

</soapenv:Body>

</soapenv:Envelope>

One thing which I observe in message monitoring is the response is coming as attachment and not as payload, why so ??

Thx in advance

Ravijeet

Edited by: RAVIJEET.SAP.PI on Mar 15, 2011 7:10 PM

Former Member
0 Kudos

Hi Ravijeet,

Let me know if you are able to resolve the issue. We have an upcoming implementation of integrating SFDC with SAP using PI and wanted to know about the resolution for the issue you stated above.

Bhargav

Former Member
0 Kudos

Hi Bhargav,

Yes, we were able to successfully implement Customer, Contract/ Oppurtunities, Contacts from and to Salesforce using SAP Webdispatcher.

Let me know if you have any queries.

Regards

Ravijeet

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Rajeev,

Could you please write blog on the same how you have doneSalesforce using SAP Webdispatcher. it would be really helpfull to others.

Regards,

Raj

Former Member
0 Kudos

Hi Ravijeet,

How Salesforce was sending user/id password for authentication to send data to SAP PI. My Salesforce team is saying that they have no place to enter user id and password to send data to PI.

Any help will be greatly appreciated.

Regards

Inder