Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

HTTP request failed 404,Not Found when using connectivity proxy #4

@hngu3

Description

@hngu3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions