cancel
Showing results for 
Search instead for 
Did you mean: 

WebIDE Local - oData service issue. 404 error

Former Member
0 Kudos

Hi,

I have installed WebIDE local installation and trying to create a project with wizard for "from template" of Worklist template.

Files are created successfully with the oData service that i chosen iwbep/GWSAMPLE_BASIC which is in backend ABAP system.

But when i try to execute I am getting below arrow. Also I have attached a screen shot of browser debug screen with error. 

I am not sure why system is looking at localhost/file/usernamexxx-OrionContent, instead of http:/abaphost/sap/opu/odata/iwbep/GWSAMPLE_BASIC/$metadata.

{

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

  "statusCode": 404,

  "statusText": "Not found: http://localhost:8080/file/usernamexxx-OrionContent/ProdList/sap/opu/odata/iwbep/GWSAMPLE_BASIC/$met...",

  "headers": [],

  "body": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\n<title>Error 404 Not found: http://localhost:8080/file/usernamexxx-OrionContent/ProdList/sap/opu/odata/iwbep/GWSAMPLE_BASIC/$met...</title>\n</head>\n<body>\n<h2>HTTP ERROR: 404</h2>\n<p>Problem accessing /sap/opu/odata/iwbep/GWSAMPLE_BASIC/$metadata. Reason:\n<pre>    Not found: http://localhost:8080/file/usernamexxx-OrionContent/ProdList/sap/opu/odata/iwbep/GWSAMPLE_BASIC/$met...</pre></p>\n<hr /><i><small>Powered by Jetty://</small>

Thanks,

Amara.

Accepted Solutions (1)

Accepted Solutions (1)

michal_keidar
Active Contributor
0 Kudos

Can you attach/show your app's neo-app.json?

Also, are you able to get the metadata of the service directly in the browser?

Former Member
0 Kudos

Michal,

Yes. I am able to load metadata directly in the browser.

As you requested I have attached neo-app.json, destinations file for backend server and also the metadata screen through browser.

Thanks for taking time to review my issue.

Amara

michal_keidar
Active Contributor

I don't see in its neo-app.json any reference to the backend system.

This is the neo-app.json that was created when you generated the Worklist template?

Former Member

Michal,

Yes you are correct. neo-app.json file what you see is the one that got created when the worklist template. Can you please guid on how to specify paths to backend system with out hardcoding the name of the system. This application will be deployed to backend system and will be executed from backend system itself.

Thanks,

Amara.

Former Member

Michal,

Thanks for pointing me to neo-app.json . I am able to see the data successfully after adding destinations to this file. But I have a follow up question though. When you want to migrate the application from dev->quality->production, how is this neo-app.json needs to be maintained.

Do we need to update the neo-app.json in each environment? or

is it one of those will never get deployed to back-end system so that system automatically routes to backend system?

Thanks,

Srinivasa.

Former Member

Hi,

Found answer to my own question on neo-app.json . After deploying ui5 application to backend system, neo-app.json is NOT deployed to backend system. So that means those URLs that hardcoded with destination name is not at all comes into picture. which is good. neo-app.json is some thing specific to local testing from webIDE.

Thanks to Michal Keider for pointing me to neo-app.json .

Srinivas.

Answers (0)