Hi,
Our Archive server is not visible outside firewall, so I am writing a service handler on a NW gateway system which will accept the request and send the request to Archive server over http and get the response back and send it to requesting client browser.
I am new to BSP and I am trying the following options. I would appreciate your expert views on the same or suggest what could be the right approach.
1) HTTP redirect: As soon as the request comes from the requesting browser, call HTTP redirect to the archive server link. This probably will not work if there is plain redirection and , the data is not staged through gateway system? Not sure if the browser would still try to reach the archive server instead of reaching gateway system.
2) HTTP2_GET, As soon as the request comes, in service handler call FM HTTP2_GET, get the response body and header in binary form, perform binary to xstring, call response->set_data, somehow, data is getting corrupted with this approach though works intermittently with IE.
3)Reuse any existing Image Handler classes?
kindly advise.
Thanks,
Sam