on 09-06-2006 5:53 PM
Hi All,
I would like to know the steps involved in sending an ABAP extract(Vendor Name and Number) through the https connection using Web Application Server based on 6.20.
1. Steps involved in setting up a HTTPS connection.
2. How to send an ABAP extract via https.
Please advise.
Meghna
you can use cl_http_client for this case, if the receiving server is on https, then you need to download their certificate and load it in sap system (txn STRUSTSSO2)
cl_http_client code should be something like below.
call method cl_http_client=>create
exporting
host = 'www.xxxx.com'
service = '80'
scheme = '2'
proxy_host = wf_proxy
proxy_service = wf_port
importing
client = http_client.
call method http_client->request->set_cdata
exporting
data = wf_string
offset = 0
length = rlength.
call method http_client->send
exceptions
http_communication_failure = 1
http_invalid_state = 2.
call method http_client->receive
exceptions
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.