Quantcast
Channel: SCN : Unanswered Discussions - SAP Fiori
Viewing all articles
Browse latest Browse all 1879

SAP Web Ide Replace Service Error

$
0
0

Hi all. In an fiori extension project, when I go to replace a service gives me the following error:

 

The original application doesn't contain an OData service
Untitled.png

The application runs correctly with data (from standard service). From url, the custom service is working properly.

I think before I could do this. I tried deleting and downloading the application again and make a new extension project.

 

If I change the component.js with custom data service:

 

this.retail.store.stockcorrection.Component.extend("retail.store.stockcorrection.RT_STOCK_CORExtension.Component", {

  metadata: {

  version: "1.0",

  config: {

  "sap.ca.serviceConfigs": [{

                                                "name": "RETAILSTORE_TRF_STOCK_SRV",

                                                "serviceUrl": "/sap/opu/odata/sap/ZCUSTOM_SERVICE/",

                                                "isDefault": true,

                                                "mockedDataSource": "./localService/metadata.xml"

                                    }]

  },

  customizing: {}

  }

});

 

I get the following error when I run the application:

Untitled.png

 

It Could be permissions(roles and profiles) problem in GW?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 1879

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>