Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling RESTful webservice in SAP PI

Hello All,

Please drive me for calling RESTful webservice in SAP PI 7.30.

We do not have any REST adapter to call this webservice, I guess SOAP adapter not works. So how we going to achieve this step in PI?

Please share your experience and knowledge on this topic, it was very helpful at this time.

Thank you very much for reading this thread.

Gayatri.

Former Member
replied

Hi Gayatri - You don't need a BPM to send an email.

From you java mapping you are making a call to webservice.

Based on the responce ->you can send an email message from the same java mapping.

Did you check the above link? just simply write the code to send an email from java mapping based on the responce.

Import the provided java classes and simply add the below code in your java mapping to trigger the email.

email mail = new email();

mail.send("<mailhost>", "<to emailid>", "<subject>", "<content>", "<from emailid>");

Regards,

Hareesh

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question