Preface – This post is part of “WebSphere Cast Iron Cloud Integration with Salesforce.com” series.
Today I will post how you can use WebSphere Cast Iron for a simple HTTP Receive and Send integration. Though this post is nothing to do with Integration with Salesforce.com, but still I would like to make this post so that you can understand how easy it is to configure WebSphere Cast Iron.
I will use Cast Iron Design Studio to do the configuration.
Create a project with name “HTML_2_HTML_Integration” and save it. Click on File | New | New Project [Local]..
You should see a screen like that once you click on the ok button.
Now drag and drop activity “Receive Request” from right hand side to the Orchestration. The screen should look like –
Now let’s configure Receive Request –
- Configure Pick Endpoint – Click on Pick EndPoint and then the New.. button to create a new EndPoint. The screen should look like –
- Configure URL – Click on Configure and provide a name which will be appended after Hostname. I have given a name “HelloWorld“. Choose POST as the HTTP method and check “Requires a Reply” at the button. It should look like –
- Configure Map Outputs – This is the most important part. Here we will map the inputs from activity i.e. Receive Request to orchestration which will be used in the next step. We can do that by – clicking on copy, followed by select body and click on create button. At the end you should see a map like –
As you can see, the message we submitted as request, the same message we received as response. So our Integration is successful and the best part is that we only did configuration for this Integration process.
In my next post, I will explain how we can configure WebSphere Cast Iron to integrate with Salesforce.com to fetch CSV file from FTP server and create data into Salesforce.
Please provide your feedback. Thanks.