Sometimes we need to implement scenario like this:
Source System -> (some channel) -> Iflow -> Iflow -> (some channel) -> Target System.
We had in practice this requirement when
- We want to map message first and then throw runtime error, that depends on mapping result. And we want to see all source message and result of mapping.
- We don’t want to use BPM
- Or we want to change dynamically URL in SOAP Sender Channel (add some GET parameters), and client want unchangeable URL without any dynamic.
I will show configuration without mappings and async.
So, step-by-step:
We will have 3 systems.
- BC_SENDER_SYSTEM
- BC_TEMP_SYSTEM
- BC_RECEIVER_SYSTEM.
Step1. At first create second Iflow
Source:
Business System: BC_TEMP_SYSTEM
Service Interface: SI_data_OA (outbound, async)
Channel: CC_SOAP_HTTP (sender, soap, http)
Target:
Business System: BC_RECEIVER_SYSTEM
Service Interface: SI_data_to_receiver_IA (inbound, async)
Channel: your receiver channel to target system
Step2. Activate second Iflow and deploy it.
Step3. Open corresponding ICO and get endpoint URL:
it should look like this
http://<host>/XISOAPAdapter/MessageServlet?senderParty=&senderService= BC_TEMP_SYSTEM&receiverParty=&receiverService=&interface= SI_data_OA&interfaceNamespace=<namespace>
Step4. Now create first Iflow
Source:
Business System: BC_SENDER_SYSTEM
Service Interface: SI_data_from_sender_OA (outbound, async)
Channel: your sender channel from source system
Target:
Business System: BC_TEMP_SYSTEM
Service Interface: SI_data_IA (inbound, async)
Channel: CC_SOAP_HTTP_R (receiver, soap, http)
In this channel we add URL from step 3. And user credentials of PIAPPLUSER (Java system user).
Step5. Activate and deploy first Iflow.
Run.
Have fun Image may be NSFW.
Clik here to view.