Hi Gregory,
My HCP runtime creation issue was solved so now I am back to create destination and resolve my reverse proxy error in eclipse before deploying to HCP. As per the above document , I did the steps of modifying the web.xml with additional code for reverse proxy as seen in screenshot below
I have created the destination also with the name "cloudbackend" as given in the document.
In my Odata model , as given in the document i modified the url for webservice by using the destination name.
But when I am executing this app from eclipse using local HCP runtime (not HANA cloud platform yet) , its giving 404 Not Found for this URL while fetching the $metadata itself which means the destination does'nt seem to work.
Also , in the document , its written to add 2 java files ProxyServlet.java and SecurityHandler.java in a package inside the src folder of JAVA Resources. I did that but both the java files are been shown in red color in eclipse indicating some error in them on all lines (Syntax error on Tokens)as can be seen in the below screenshot.
Once this app is able to successfully run ODATA call using destination from localhost HCP in eclipse , I guess then I will deploy to actual HANA Cloud Platform and expect it to work.
Regards
Amber