Skip to Content

Webservice call from PI for exchange rate

I have a requirements to get the exchange rate from ECB using a web service and update the exchange rate in ECC as .xml file

The ECC will be configured as receiver and ECB will be configured as sender. In the sender communication channel, the SOAP adapter will be used and in the receiver channel side, the SOAP (XI 3.0) will be used.

My query is from PI, how to trigger the web service to get the exchange rate from ECB site. if its not feasible, can you please provide the feasible solution.

Many Thanks

MP

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 13 at 03:53 AM

    Hi Melchior,

    The SOAP Axis adapter supports polling and you can use that as your sender adapter.

    https://blogs.sap.com/2012/01/05/michals-pi-tips-exchange-rates-from-an-xml-file-on-a-web-page-rest-axis/

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 12 at 10:06 AM

    Hi MP,

    For a Sender Call , you need to define a Web Servide in PI after creating all your ESR and ID Objects. Please refer below link:

    http://www.saptechnical.com/Tutorials/XI/WebService2RFC/page2.htm

    Also , there is an another way to achieve your requirement. You can ask ECB to place the Exchange File at their SFTP location. PI can easily pick the file from this location and place it at AL11 Location in ECC. Ofcourse , Proper Encyption/Decyption should be involved as it is very sensitive data.

    Regards,

    Vivek Jain

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 12 at 10:28 AM

    Melchior!

    I would implement the scenario using sender file channel and SOAP lookup in message mapping. Polling interval and "Test" processing mode could be used in sender File channel to perform repeating polling with given interval and SOAP lookup could be used in message mapping to query ECB, get response, build result message for ECC and send it to receiver system using SOAP receiver channel.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded