• Antonello Storelli 1
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 5
    Replies
Hi,
I am designing the integration between SAP and SalesForce with SAP PI using SOAP API calls. The action that we want use to comunicate with the SalesForce system is the upsert().

Now. I am struggling with the design of the data type / message type of the receiver message - Salesforce by the way. Because when you download the Enterprise WSDL the upsert (request/response) it is designed in a generic way an not in a specific way for an object (eg. Accounts).
So when I open the message mapping and I try to map the DEBMAS Idoc with the upsert() request external definition of the WSDL I don't find any sturcture to map the Idoc, like this:

upsert request external message from WSDL
So I was thinking to made it by me in an external editor like Notepad++, create di XSD, and then import it in SAP PI .. but .. the WSDL will be updated more times before the end of the project because we are only at begin of it .. and this is not the best way to approch this problem for me ...
I know, using SOAP UI, how the upsert request must be designed, like this:

upsert request call in SOAP UI
But I don't know how to to this starting from the Enterpreise WSDL .. or not? How you did this in your SalesForce integration projects?
Please help me, Thanks
 
Hi to all,
I am trying to made my first integration flow with the Salesforce system just to get back the sessionId and the url where to submit my future request but I am facing this error:

com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload. Error when calling an adapter by using the communication channel CC_SOAP_TEST_CONNECTION (Party: , Service: BS_VEEVA_DEV, Object ID: 6b493826b23a350a8862e992e805addf) XI AF API call failed. Module exception: 'com.sap.engine.interfaces.messaging.api.exception.MessagingException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'. Cause Exception: 'iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'. com.sap.aii.mapping.lookup.LookupException: Error when calling an adapter by using the communication channel CC_SOAP_TEST_CONNECTION (Party: , Service: BS_VEEVA_DEV, Object ID: 6b493826b23a350a8862e992e805addf) XI AF API call failed. Module exception: 'com.sap.engine.interfaces.messaging.api.exception.MessagingException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'. Cause Exception: 'iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'.

I was following this tutorial and it doesn't speaks about any certificate:

https://archive.sap.com/kmuuid2/50a76cfa-4966-2d10-aba7-da496d9b5bcf/Salesforce.com%20Integration%20Using%20SAP%20PI%3A%20A%20Case%20Study

Do I need to use a certificate provided me from Salesforce? Where I can download it? Then I have to use it in my chanel specifing it in this section?

SOAP channel
Thanks and regards,
Antonello
Hi to all,
I am facing for the first time an integration project with SalesForce and our client decided to not buy the adapter so we have to work with the SOAP protocal and calls the SalesForce API. I have some questions that someone how do it before me maybe can answer and share his experince to understand the best way to approach this kind of integration:

- we have to manage many interfaces that has header and rows (like invoices, orders ..) and I am looking to know how to, if it's possible, update in a single call two different objects with the upsert() call ... it's possible? can you show me an example? otherwise how you manage flows like this? thanks for sharing this ...

- As I can seen around in the web to do operation with API calls we have to login to the salesforce system and get the SessionId and the URL where submit our data after ... I was thinking about concurrency, and parallel processes .. We have a Sandbox licence that permitted a number of 25 parallel process with the same login (sessionid?) .. How you face this? You do a logout at the end of every flows?

- What do you suggest to use? a BPM with a first login map and then the operation map (like invoices, orders ..) or a flow with one operation mapping and two or many mappings?

Thanks so much to share your knowledge about that..

Antonello
Hi,
I am designing the integration between SAP and SalesForce with SAP PI using SOAP API calls. The action that we want use to comunicate with the SalesForce system is the upsert().

Now. I am struggling with the design of the data type / message type of the receiver message - Salesforce by the way. Because when you download the Enterprise WSDL the upsert (request/response) it is designed in a generic way an not in a specific way for an object (eg. Accounts).
So when I open the message mapping and I try to map the DEBMAS Idoc with the upsert() request external definition of the WSDL I don't find any sturcture to map the Idoc, like this:

upsert request external message from WSDL
So I was thinking to made it by me in an external editor like Notepad++, create di XSD, and then import it in SAP PI .. but .. the WSDL will be updated more times before the end of the project because we are only at begin of it .. and this is not the best way to approch this problem for me ...
I know, using SOAP UI, how the upsert request must be designed, like this:

upsert request call in SOAP UI
But I don't know how to to this starting from the Enterpreise WSDL .. or not? How you did this in your SalesForce integration projects?
Please help me, Thanks
 
Hi to all,
I am trying to made my first integration flow with the Salesforce system just to get back the sessionId and the url where to submit my future request but I am facing this error:

com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload. Error when calling an adapter by using the communication channel CC_SOAP_TEST_CONNECTION (Party: , Service: BS_VEEVA_DEV, Object ID: 6b493826b23a350a8862e992e805addf) XI AF API call failed. Module exception: 'com.sap.engine.interfaces.messaging.api.exception.MessagingException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'. Cause Exception: 'iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'. com.sap.aii.mapping.lookup.LookupException: Error when calling an adapter by using the communication channel CC_SOAP_TEST_CONNECTION (Party: , Service: BS_VEEVA_DEV, Object ID: 6b493826b23a350a8862e992e805addf) XI AF API call failed. Module exception: 'com.sap.engine.interfaces.messaging.api.exception.MessagingException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'. Cause Exception: 'iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier'.

I was following this tutorial and it doesn't speaks about any certificate:

https://archive.sap.com/kmuuid2/50a76cfa-4966-2d10-aba7-da496d9b5bcf/Salesforce.com%20Integration%20Using%20SAP%20PI%3A%20A%20Case%20Study

Do I need to use a certificate provided me from Salesforce? Where I can download it? Then I have to use it in my chanel specifing it in this section?

SOAP channel
Thanks and regards,
Antonello
Hi to all,
I am facing for the first time an integration project with SalesForce and our client decided to not buy the adapter so we have to work with the SOAP protocal and calls the SalesForce API. I have some questions that someone how do it before me maybe can answer and share his experince to understand the best way to approach this kind of integration:

- we have to manage many interfaces that has header and rows (like invoices, orders ..) and I am looking to know how to, if it's possible, update in a single call two different objects with the upsert() call ... it's possible? can you show me an example? otherwise how you manage flows like this? thanks for sharing this ...

- As I can seen around in the web to do operation with API calls we have to login to the salesforce system and get the SessionId and the URL where submit our data after ... I was thinking about concurrency, and parallel processes .. We have a Sandbox licence that permitted a number of 25 parallel process with the same login (sessionid?) .. How you face this? You do a logout at the end of every flows?

- What do you suggest to use? a BPM with a first login map and then the operation map (like invoices, orders ..) or a flow with one operation mapping and two or many mappings?

Thanks so much to share your knowledge about that..

Antonello