Skip to Content
0

Receives exception 1 and failure.

Feb 03, 2017 at 10:17 AM

23

avatar image
Former Member

For testing the messages from the external gateway as inbound to SAP, i used the POST http.

I am trying your code using post for retrieving the data from the external gateway.

call method cl_http_client=>createexporting
host = '' (is host name the external gateway url or link??)
service = '443'
scheme = '2'
ssl_id = 'ANONYM' "https
proxy_host = wf_proxy
proxy_service = wf_portimportingclient = http_client.

call method http_client->request->set_header_field

exporting

name = 'HOST'

value = 'api.somewhere.com:80'.

Could you explain what must be the proxy and port details (I am using port as 80)

Need info for value details under the set_header_field

Receives exception 1 and failure.

call method http_client->receiveexceptions
http_communication_failure = 1

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers