My name is Jose and I am a colleague for NSC Portugal. I am working on a solution for a client where we aim to make an enhancement to the Asset Intelligence Network (AIN) documents application (aka manageattachemnts). And I got stuck with an issue [Format validation failed (A route requires access to html5-apps-repo-rt service but the service is not bound].
To achieve this solution we need to consume the AIN resources, in our specific case the Asset Central Service and the SAP Asset Intelligence html5 runtime service. There is an example on how to achieve this using web ide: https://help.sap.com/viewer/e5b513b9d15c455a9ae63569227c74fd/1911/enUS/06ee7e5d349c4532b5e1659dd66d22c8.html
I tried different solutions both using web ide and Business Aplication Studio (BAS).
In both web-ide and BAS (both locally and when deployed) the error is always the same:
I tried all possible variations of these files, even stupid things like setting the services as destinations, locally using both the bas for binds and making them "by hand".
This is the mta.yml for the app-router:
This is showing the local-env (for local testing), the xs.app with the routes to the mentioned services plus the xsuaa for the authentication.
This are the two services from AIN that are deployed in the account:
Both the local bind, as the bind by the require mta.yml, as the bind in the cockpit “by hand”, give the same error. I have already exchanged routs between the two xs.app's the app-router and uimodule and even with both. I tried all possible variations of xs.security for authentication. This is all at BAS. Even on the web-ide when running the app that is generated every time, the error when we run the application it is the same.
Below is some of the documentation I followed and similar erros and solutions that I have found and tried.
Integration with HTML5 Application Repository:
Resolution of the same error in BAS, (I never get it to work) [locally]
Latest sap answers latest with the same error:
Same error but with destinations:
I tried all their examples step by step, even tried to generate new applications with just a bind to the service etc. The only thing that occurs to me is that these services may not be well configured and may not accept binds from applications that are not in the same repo or something.
If you have any idea on a possible solution I would be really grateful.