2016 Sep 29 1:07 PM
Hi everybody.
I am trying to call an external rest service and posting an xml with no success.
Sap version is: SAP ECC 6.0
| SAP_ABA | 700 |
| SAP_BASIS | 700 |
I am using the class if_http_client.
But an error appears in this method. ( 'http_communication_failure'.)
CALL METHOD lv_http_client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
OTHERS = 4.
Is it imposible to do that with sap ecc 6.0 ?
Regards
Hi everybody.
I am trying to call an external rest service and posting an xml with no success.
Sap version is: SAP ECC 6.0
| SAP_ABA | 700 |
| SAP_BASIS | 700 |
I am using the class if_http_client.
But an error appears in this method. ( 'http_communication_failure'.)
CALL METHOD lv_http_client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
OTHERS = 4.
Is it imposible to do that with sap ecc 6.0 ?
Regards
2016 Sep 29 6:05 PM
It seems you just have either a little bug in your code, or the HTTP service is not activated in your system. Did you check the services in SMICM? Ask your administrator if it's inactive.
2016 Sep 29 7:02 PM
We have another Soap Based Webservice that connects very well with the class if_http_client.
The problem is with The Rest Service.
it was made in a server from Amazon Web Services.
Regards.
2016 Sep 30 8:21 AM