In this example, create a simple iFlow in HCI, expect an input with <Name> variable, then perform mapping step, and output “Hello <Name>” as result.

This is the test run using SOAPUI:
The URL consist of Runtime URL provided by your HCI tenant, and “/cxf/exp_test” is endpoint suffix that defined in SOAP sender channel.

I’m using “User Role” authorization in iFlow, so need to specify the username and password in SOAPUI.

Overview objects needed, as shown at eclipse project explorer:

iFlow EXP_TEST:
1) Sender send to Integration Process using SOAP adapter
2) Mapping MM_SayHello map to target structure and payload.
3) There are no Receiver defined. By default HCI processing when reach “End” step, will return all the way back to initial Sender/caller. In this case is simulate using SOAPUI tool, so SOAPUI will see the result.

Need to create WSDL file with embedded xml schema:
Right-click on project node –> New –> Other, then type WSDL to search and choose WSDL file. Create WSDL named “Greeting.wsdl” like below:

The Source view of WSDL:

 

Sender SOAP channel:

Adapter Specific tab:
Address: Use some meaningful word to represent part of url endpoint, for external to call to this HCI iflow.
Service Definition: Choose WSDL, then “Browse..” to select Greeting.wsdl that just created.
Authorization: Use “User Role”, need specific username and password then test run in SOAPUI. Other option is use certificate.

Mapping step MM_SayHello:
Create and choose the Source and Target element from the Greeting.wsdl

At Mapping definition step, map accordingly like how you would map if using SAP PI. However, still do not have “Display Queue” feature like in SAP PI. Lack of display queue will impose more difficulty to developer when need to troubleshoot complex mapping. Have to live with it or perform mapping using other alternative like XSLT or flexible scripting-based mapping using groovy script (comparable to Java Mapping in PI).

 

Finally, monitor the message processed in HCI:

Keep on learning!

Simple Hello iFlow using Sender SOAP Adapter, WSDL and Mapping Step
Tagged on:         

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.