Skip to Content
0
Jul 21, 2016 at 02:18 PM

Error editing a WebIDE app with Eclipse

42 Views

Hi,

We have previously created an application using Web IDE and now for testing purpose we are trying to run it locally with Eclipse.

We encounter the following error message after we run it on Tomcat

{

"requestUri": "/sap/opu/odata/sap/ZTEST_USER_SRV/$metadata?sap-documentation=heading",

"statusCode": 404,

"statusText": "Introuvable",

"headers": [],

"body": "<!DOCTYPE html><html><head><title>Apache Tomcat/8.0.17 - Rapport d''erreur</title><style type=\"text/css\">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>Etat HTTP 404 - /sap/opu/odata/sap/ZTEST_USER_SRV/$metadata</h1><div class=\"line\"></div><p><b>type</b> Rapport d''état</p><p><b>message</b> <u>/sap/opu/odata/sap/ZTEST_USER_SRV/$metadata</u></p><p><b>description</b> <u>La ressource demandée n''est pas disponible.</u></p><hr class=\"line\"><h3>Apache Tomcat/8.0.17</h3></body></html>"

}

How can we point the requestUri to the server instead of localhost ?

We tried adding the server address before /sap/opu/odata... in manifest.json without any luck since it doesn't seem to sucessfully pass auth (even with id/password set in the url).

Anyone can help us to solve this problem ? Thanks !