rest client in pentaho

2019-07-22 00:17发布

I am very new to the pentaho data integration tool.

I want to consume a restful service(post web service) from my pentaho. For that i found that i should use a rest client. But when i give the url and body(as i want to consume post service) it is not making the necessary changes in the database.

Can anyone tell me how to give body in the rest client in pentaho? i suspect that there is some different way to give the body in the body field of rest client.

I am attaching the screenshot of the rest client which i am making.

Also can anyone suggest me some good links where i can find tutorials for pentaho.

Screenshot

标签: rest pentaho
2条回答
太酷不给撩
2楼-- · 2019-07-22 00:22

In PDI, you need to receive rows, and process them in the next step.

For this case, as stated in the forum, you first need the "GENERATE ROWS" step, to make at least one call to the REST webservice.

Remember to generate only 1 row, else, you will make a X number of calls to the REST webservice.

Then, in the "REST CLIENT" step, choose the field that is generating the row with the URL in the attribute "Accept URL from field".

Hope it helps.

查看更多
Deceive 欺骗
3楼-- · 2019-07-22 00:33

Use Generate Rows for your url then pass that to the REST Client and use the 'Accept URL from field'. That's the only I found it to work.

查看更多
登录 后发表回答