on 10-02-2019 10:36 AM
Hi all,
Is the metadata generation for a rest service is mandatory to use the service in sap ui5 app?
we have a rest service returns data by giving URL but has no metadata for it . we are not able to add this service as we are taking template to create a work list project.
Regards
Prasad
Hi Prasad,
SAP UI5 doesn't require one to use OData as means to obtain data to display in its UI components. However, the WebIDE templates do require one to use OData services.
I'd recommend using OData because it is so much easier to work with the templates and makes development really fast. Plus, you would benefit from a lot of features UI5 provides right out-of-the-box. Whereas in a plain REST service you would require to do stuff manually.
Fortunately, doing OData these days is not that difficult. You could use Spring Boot to aid in that task together with Olingo library (please read: https://www.baeldung.com/olingo).
But you could even try out the Cloud Application Programming model that uses the SDK for Service Development which aids in the service creation and lets you focus on the business logic.
https://blogs.sap.com/2018/03/01/sap-cloud-platform-sdk-for-service-development-overview-of-blogs/
Best regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the Reply Ivan.
If the Rest Services are already developed and need to be integrated what would be the best way to integrate these services in UI5 as after adding these services in destinations are not being able to use in sap UI5 project templates because of metadata generation issues.
Regards
Prasad
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.