cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger webservice calls from PI?

former_member190543
Participant
0 Kudos

Hi friends,

My requirement is to call a third party webservice (synchronous) periodically from PI and convert the response file as file and put it in a local directory.

Now my question is how can we trigger this periodic call from PI?

I am thinking of this design:

1. Create a file sender channel and periodically poll a file (in "test" mode) from a local directory and send that as a request to the synchronous webservice

2. Take the webservice response and convert that to a txt file and put it in a different target directory

3. Handle the above using a BPM

Is there a better way of doing this? I am sure there must be!

Many thanks.

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Ramesh,

If understand you right you get the data from a webservice and you want to convert it in a file. You need to call this scenario periodically, am i wrong?

You have more options:

1) To use Sender SOAP Axis to poll a call at X seconds. A example of this usage in this blog: , in the response you can do a file lookup.

2) If your PI has an ABAP stack you can do a report and schedule it in a job. The report call a HTTP - SOAP scenario with a file lookup in the response.

Regards.

Answers (0)