on 09-12-2016 9:56 PM
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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.
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.
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.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.