Skip to Content

Async-Sync Bridge (Request-Reply) in HCI

Hi HCI Experts,

We're trying to build an iFlow in HCI that looks something like the Async-Sync bridge in PI. I understand that there's the Request-Reply pattern in HCI that could accomplish this, as discussed here Blog 2: Request-Reply Pattern in Integration Flows (HCI-PI). However, I'm getting no luck so far when trying to deploy the iFlow.

So the scenario is:

ECC IDoc (Async) -> HCI -> C4CWebService_Request (Sync) -> C4CWebService_Response -> HCI -> Custom Web Service in ECC

1. ECC sends an IDoc to HCI.

2. HCI takes care of the mapping and sending of the request message to the standard Web Service (WS) in C4C. The standard WS in C4C is Synchronous.

3. Now, the response of the standard WS in C4C must be sent back to ECC thru a Custom web service created in SOAMANAGER.

4. Response of WS from C4C is sent back to HCI where message mapping will take place and send it to the web service in ECC.

During deploy, I'm getting an error that says 'Receiver Channel cannot be configured for synchronous WSDL configuration.' Is it because the custom web service in ECC is synchronous and HCI cannot handle that?

Has anyone ever done this scenario with success?

Appreciate any inputs.

Thanks in advance.


Mark

Capture.PNG (30.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jun 21, 2016 at 12:00 PM

    Hello Mark,

    You would need to switch this a little.

    - Add an additional Request-Reply Step post the response mapping. This request reply will make the call to ECC and get the response.

    - The Response will then need to be connected to the End Event.

    Regards

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 21, 2016 at 10:43 AM

    Hello Mark,

    For sending the response back  don't configure the Receiver channel ,just drag connector from End Message step to Sender System and then try to deploy.

    Usually this works fine when we are having synchronous sender SOAP Channel. I tried this scenario and it worked fine.Make sure in the response mapping SOAP Response structure only sent ( As per WSDL Response Structure).

    Regards,

    Sriprasad S Bhat


    Add comment
    10|10000 characters needed characters exceeded

  • Jun 21, 2016 at 12:41 PM

    This is what my iFlow for the same requirement looks like,

    - Instead of mappings, I have Content Modifiers to set my Payload.

    - 1st Request Reply  ==> Equivalent to making a call to C4C in your case.

    - 2nd Request Reply ==> Equivalent to making a call to ECC Webservice

    - While the 2nd Request Reply makes the call to the Original System, it still has to be a Receiver System as Request Reply only works with Receiver System.


    88.png (34.6 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Just a FYI, the flipside to this is the connection from ECC to HCI remains open till the Integration Flow is completed. So if your Integration Flow is a long running one, you might end up with Timeout issues! Just some food for thought!

      Regards

      Bhavesh

  • Jun 22, 2016 at 04:19 AM

    Hi Bhavesh,

    Do you know by any chance if it's possible to get the value of a certain field in my source IDoc message and assign that value into one of the fields in my source message for the 2nd message mapping (after the 1st Request-Reply)? Is this possible using Content Modifier, Externalized Parameters or Variable?

    Thank you.

    Add comment
    10|10000 characters needed characters exceeded