Skip to Content
avatar image
Former Member

Trigger WebService call from PI

Hi Experts,

I have a scenario where i need to call Currency Exchange rate webservice from PI daily and send it to RFC channel. Its an asynchronous scenario from webservice to ECC. I cannot use Michal's: Exchange Rates from an XML file on a web page- REST, AXIS approach as the PI system is not on EHP 6, so for one scenario i cannot afford to upgrade the system. Please suggest me who can i approach to this scenario.
Please help me with complete steps.

Thanks,

Rajesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 30, 2014 at 07:51 AM

    Hi Rajesh,

    You can use the URL class from Java (via UDF) to connect to the target system. SOAP Lookup won't work in your case since the method will be HTTP POST. The URL that you are connecting to requires HTTP GET.

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2014 at 02:20 PM

    Hi Rajesh,

    Have a dummy scenario with a file sender in test mode. Schedule the channel to run once a day only and keep the channel on for say 30 minutes. Keep the polling interval more than the channel on period. That way you will ensure that file is picked up only once a day.

    Now have a SOAP lookup done in the old fashioned way in the mapping.

    Regards

    Varun

    Add comment
    10|10000 characters needed characters exceeded