I am trying to connect to third party system over HTTPS connection and post parameters to receive a response. This is gonna be a POC I will be doing for which I am already started researching. I have already done a client-server TCP connection with an outbound gateway using SI in my spring application. Does SI provide a way to achieve HTTPS connection or is there any easier way, RestTemplate?
I could see Spring Integration - how to send POST parameters with http outbound-gateway, but it talks about HTTP rather than HTTPS.
Note: A linux server already communicates to this third party system using CURL. I need to replicate this communication in my spring application. Here is the sample Req / Res shared.
Request data: ord=000000&term=022&storenum=00623&fgen=667&action=1024&ctime=072119:22:23:32&tmout=08&PLU=00007565604633&BC=10364678071919225000623&QTY= 1.000
Response: 000000022006231024ctime=072119:22:23:32&itmz=P---11NSFU-T&desc=JARU ALL MN LT UP DIAMOND&rmfsline=1&avqty=1.0&barcode=10364678071919225000623&qty=1.0&rcptqty=3.0000&rcptline=5&upc=7565604633&reqqty=1.0&unitprice=1.97&price=5.91&dept=92&resp=00&POST /RMFSWeb/LineAuthListener? HTTP/1.1
Also, the URL shared with me is https://xx-cert.keb.com:20143
but this doesn't have a class/method name in the URL. Is it not required for an HTTPS connection?
Please share your thoughts on how I can achieve https connection from spring with the data above. Thanks for your help