Webservice to Mail Using SAP Hana Cloud Integration!!
As a SAP PI/PO consultant worked in various Integration Projects would like to share my first experience in SAP Hana Cloud Integration
Hope many of you have already explored about SAP HCI and its capabilities and road map for integration.
Here I am sharing my experience of developing a Web service to Mail Scenario in SAP HCI Trial Version
1) In the Eclipse Tool ( Luna) Open the perspective SAP Hana Cloud Integration and create Integration Project and Integration Flow as below
Sender – Webservice (SOAP), Receiver – Mail
2) For Sender Webservice, sample structure can be created in PI/PO and imported to HCI
3) Configure Sender SOAP Channel with below parameters
4) Configure the Receiver Mail Adapter to send mail to google mail and provide required parameters (From address,To address, Mail subject and body) as below
5) In Google account settings we need to enable required authentication, so that external applications can communicate to google mail and here we need to generate required credentials
6) Credentials which were generated in the above step need to be deployed in HCI in deployed artifacts and Deployed Artifacts name to be given in the receiver mail channel.
7) To test the scenario, import the IFLOW WSDL in SOAP UI and trigger . This is only for triggering the Iflow, actual message already configured in Mail channel
8) Message Monitoring in HCI – Message status is completed
9) Message successfully posted to google mail box as below
In general there are differences compared to PI/PO in the way objects are developed and configured in HCI and initially we may have some challenges while establishing connectivity to other systems/applications due to firewall/network.
From Integration perspective I can say HCI is still evolving and there is lot more which are expected in the near future from SAP .
So start exploring and share your thoughts!!
References:
Hello,
What all the security settings has to be enabled in gmail account?
What is the credentials which has to be deployed to artifacts and how?
reg, avinash
That is already covered in the following blog:-
Building your first iFlow - Part 4: Configuring your credentials
Hi Eng,
I have tried this and I can send mails using GMAIL SMTP server and my gmail account, however, if I try to use our Relay Server, I get timeout Error in HCI. My questions are:
My Settings in HCI Receiver Adapter are:
Error in HCI:
-ANuj
Hi Anuj,
Have you find the solution? I am also facing the same issue, when sending alerts to Outlook mail box.
Hi Vijaya,
We have actually gone to PI to send mails. We built Interface in PI. CPI (HCI) calls PI Service having recipients details in it, and PI Interface will then send mails to Customers.
-Anuj
Hi Prakash,
Good attempt on HCI,content is informative however if you might add the monitoring that would add more essence to the blog.
Expecting more blogs on HCI from you.
From My View SAP should provide atleast 90 days of HCI trail version.Currently i am on 30 days trail period which going to expire in couple of days however i did not get a chance to explore to full extent 😉
Cheers
Pawan
Thanks Pavan.
Yes if SAP provides more duration for trial version we can explore to maximum extent.
Regards,
Prakash
Hi Prakash,
I'm blocked on the step 5 and step 6 of your guide. Could you please provide more details on how to generate the certificate?
Thanks a lot.
Best Regards
Kevin
Hello Kevin,
Go to gmail.com through your browser and get the certificates and upload it into your system.jks (keystore) file.
Regards,
Nitin Deshpande