cancel
Showing results for 
Search instead for 
Did you mean: 

How to design interface: File pull push delete from HTTPS locations

Former Member
0 Kudos

Hi Experts,

Can someone guide what kind of SAP-PI adapter we can use in below interface?

Requirement:

Example server name is: https://redxfer.wellsfargo.com/

So we have to pull/push files from above server from folder “/outbound”. And server logging SSL/RSA public keys are stored in some file abc.pem

But we cannot use SFTP adapter since it is not SFTP location, i.e. it is HTTPS location.

Also we cannot use HTTPS/SOAP adapter, since it is not a webservice. i.e. it is a HTTPS location and we have to logging via SSL/RSA keys, logging to some folder & pull/push the files.

One solution is:

This can be achieved by UNIX script is using below commands for this interface, but we do not want to use UNIX script, so I am looking for type of adapter we can use in SAP-PI:

Unix Commands:

fdx -i https://redxfer.wellsfargo.com:443<<EOT

cd outbound

mget $FILENAMES

mput $FILENAMES1

EOT

fdx -e https://redxfer.wellsfargo.com/outbound/$File

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,


Requirement:

Example server name is: https://redxfer.wellsfargo.com/

So we have to pull/push files from above server from folder “/outbound”. And server logging SSL/RSA public keys are stored in some file abc.pem

But we cannot use SFTP adapter since it is not SFTP location, i.e. it is HTTPS location.

Also we cannot use HTTPS/SOAP adapter, since it is not a webservice. i.e. it is a HTTPS location and we have to logging via SSL/RSA keys, logging to some folder & pull/push the files.

Since this is an HTTPS location, it just means that to push data you need to do an HTTP POST to their server and by pulling data it means you need to do an HTTP GET.

The HTTP POST and HTTP GET are HTTP Methods. If you are using PI 7.1 and below, only HTTP POST is natively supported by the HTTP and SOAP Adapter. For HTTP GET, you need to use SOAP Axis (search for Michal's blog). For PI 7.3, HTTP GET is also supported by the HTTP Adapter.

HTTP DELETE I believe is for HTTP 1.1. Based on your requirement, it might be best to go with Java Proxies or with a REST Adapter.

Hope this helps,

Mark

Former Member
0 Kudos

Thanks Mark, We are on PI7.3.

I will try to use HTTP POST & HTTP GET via HTTP or SOAP-Axis.

Answers (0)