What I have done so far is to deploy the war java file connectivity.proxy-0.1.4.war onto SAP hana cloud platform with the name: connectivityproxy. I used SAP hana cockpit to deploy the java app and activated it.
In my code, I call the proxy servlet by using the following code
var oModel = new sap.ui.model.odata.ODataModel("/connectivityproxy/proxy/https/kwt-xxxxx.kieait.com:8400/sap/opu/odata/sap/ZSMM_SRV/ClassCharSet?$filter=Classnum eq '"+query+"' and Classtype eq '001'",true,"username","password");
However, when I enter the value for query and click search, it returns the error:
[index.html] The following problem occurred: HTTP request failed404,Not Found,<html><head><title>Error report</title></head><body><h1>HTTP Status 404 - </h1></body></html>
It seems servlet call is not correct. Please tell me what I am missing in the my deployment and is my servlet call is corect. Any help is appreciated.