Pentaho

 View Only

 HttpPost - Compressed Response

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
Callian Dutra's profile image
Callian Dutra posted 11-17-2018 11:04

Hi everyone,

I need to comunicate with a WebService trhough "XML HTTP Request". For that, i used a HttpPost component.

The first step it's working. My problem is the response, that I get a "compressed file".

Inside this compressed file, there is a XML that i need consume to get the information.

I tried save the "response" on disk by two ways. Using Text File Output and "User Defined Java Class". But, the saved file is always corrupted.

Using the software "Postman" everything work's Ok.

I need some help to deal with this response.

I sent my "KTR" file. Thank's for the suggestions


#PentahoDataIntegrationPDI
#Pentaho
#Kettle
Diego Mainou's profile image
Diego Mainou

first save the file

uncompress the file in a job

read the output in a transformation

divide and conquer

Data Conversion's profile image
Data Conversion