We are receiving a xmlpdf response for the request via gateway. response contain a xml version along with pdf in string format. our requirement is to convert the string to pdf format also need to save it to any folder on network. Can CA API gateway can handle this? How?
I don't think there is a out of the box solution to store something in a file but if you are on GW 9.4
you may can use the java script assertion to do this .
We have version 9.0. Is there any other way to achieve it? i saw in one of the post Is API Gateway is feasible to route video, pdf, and HTML 5 page? but there is no solution.
The gateway should not access OS directly, I think you can setup a ftp server, and then use Route via ssh2(for sftp) assertion, or Route via ftp assertion to send the payload to ftp server.