Hello everyone,
I am working on JAVA Application which uses OLINGO framework to communicate to ODATA services available in On-Premise ABAP System.
I have maintained Cloud Connector entry for On-Premise system and also maintained Destination in Factory account(hana.ondemand.com). In order to communicate with ODATA Services I am using OLINGO framework in Java Application.
In JAVA application I read the destinations URL/hostname maintained and tries to pass that URL to OLINGO framework to further communicate to Backend system (I am setting proxy to connection object).
In this case I am aware that all the communications from JAVA has to go through Cloud Connector rather than directly making an connection to On-Premise system using URL.
In OLINGO framework we do the following steps
1) We read edm (metadata)
2) readEntry using EntitySet name, edm, url which will return ODataEntry
3) From ODataEntry we read the properties.
In all the connection objects to On-Premise ODATA calls I adding proxy type to it and I get below mentioned error.
Unable to tunnel through proxy. Proxy returns "HTTP/1.1 405 Method Not Allowed" What makes sure all the calls go through HANA Cloud Connector ?
How do I go about this any pointers highly appreciated.
Regards Santhosh Reddy M