cancel
Showing results for 
Search instead for 
Did you mean: 

Soap <-->REST<--ERP-->

0 Kudos

HI team,

we had a requirement where we have multiple systems involved

requirement:

  • (1) Customer on the website enters their details and requests a quote
    1. a) Sitecore request the integration toolset to call one SOAP/XML SAP enterprise service and one SAP BAPI directly to obtain information about the customer
    2. b) If SAP is offline, the integration toolset must call a third party REST/JSON service for the additional information
  • (2) The integration toolset needs to combine certain information from the services, and calls the third party data provider for the quote over REST/JSON
    1. a) Third party service provider returns the result to the integration toolset which sends the result to Sitecore via SOAP/XML

how i can achieve this requirement.?

thanks in advance for your suggestions

Regards

Siva

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Siva

From the description of your requirement, it needs stateful integration patterns, therefore will require either ccBPM or NW BPM depending on your PI/PO system.

The following blog lists the available integration pattern for NW BPM on PO.

For (1), you can implement exception handling to call the third party service if first call failed

For (2) you can use a content enricher pattern to combine information from the various services for the response.

Regards

Eng Swee

0 Kudos

HI eng swee,

Thanks for the info we are using PO system

  1. Coming to the first piont
    • (1) Customer on the website enters their details and requests a quote
      1. a. a) Site core request the integration toolset to call one SOAP/XML SAP enterprise service and one SAP BAPI directly to obtain information about the customer
      2. b. b) If SAP is offline, the integration toolset must call a third party REST/JSON service for the additional information

how we can achieve this? We are receiving a soap call and we need to call bapi.

If system is down it needs to call Rest or Json for additional info

how we can design this flow ?is it possible to call rest service from BPM ?

  • (2) The integration toolset needs to combine certain information from the services, and calls the third party data provider for the quote over REST/JSON
    1. a. a) Third party service provider returns the result to the integration toolset which sends the result to Sitecore via SOAP/XML
  • how we can use Content Enricher (Message Transformation) in the second Step.we need to call rest service in mapping similar to soap look up?

can you please guide me in design this process

Regards

Siva

engswee
Active Contributor
0 Kudos

Hi Siva

1) First integration flow - sender SOAP to trigger NW BPM process.

After receiving the SOAP call from the sender system, route it to a trigger message to start the BPM process. Within the BPM process, execute a synchronous interface which will call the BAPI. To introduce error handling, add a boundary event for Technical Error. If the call fails, the process will trigger the boundary event and follow an alternative route which calls the REST service. The REST service do not need to be called directly from BPM. All external calls are handled on the PI side by iFlows, so BPM just calls the respective iFlows.

2) If you are using NW BPM, you need not use a mapping lookup. You can trigger a call to the iFlow related to the REST service and within BPM combine the response with other content as necessary.

I can only provide a high level approach here and you will need to actually try developing it. I'd suggest you familiarise yourself with NW BPM capabilities by searching for the materials in SCN, and probably even try some sample tutorials. The following is a very good starting point

After you are familiar designing in NW BPM, try to design the above scenario and if you are stuck with a particular issue, post a thread in this forum.

Regards

Eng Swee

Answers (0)