Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTPS error when connecting Google GEOCODE API

Former Member
0 Likes
632


Hi,

I have a FM whith which if we pass the address, it returns the co-ordinates. I am using HTTPS to communicate with the google API. I have a problem. It is the Function is receiving the co-ordinates properly at one time and the other time, i get HTTP_COMMUNICATION_FAILURE .

i tried executing the FM independently. At one instance i am getting the co-ordinates and at one instance i am getting the HTTP_COMMUNICATION_FAILURE.

Any Ideas of where to check ?

 

lr_client->send( ).

CALL METHOD lr_client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

lr_client->close( ).

Thanks,

Karthik

2 REPLIES 2
Read only

Former Member
0 Likes
579

Hi,

The TCP/IP connection you are using check it in SM59 as a connection test. If it is not working ask BASIS to look into it.

Regards,

VS

Read only

0 Likes
579

There is no SM59 connection. BASIS Installed a Digital certificate from Google in order to work with HTTPS. I wonder if it is not installed, it should nt work even for a single time. But in our case it s working one time and not working the other time.