sap-successfactors

Generate VDM for SFSF using Java in SAP Cloud SDK: Generated URI is wrong

徘徊边缘 提交于 2020-03-03 06:58:26
问题 I'm trying to build an app that reads info from SFSF. For this, I'm using the Virtual Data model generator tool (the maven plugin) with SFSF OData metadata to be able to access the system. I'm following these steps: Get a project via archetype (with powershell): mvn archetype:generate "-DarchetypeGroupId=com.sap.cloud.sdk.archetypes" "-DarchetypeArtifactId=scp-cf-tomee" "-DarchetypeVersion=RELEASE" Add the following to the application\pom.xml In dependencies: <dependency> <groupId>org

SAPUI5 / AJAX, submitting Basic Authentication Details

送分小仙女□ 提交于 2019-12-11 14:08:54
问题 I'm trying to access a SAP Successfactors API from an AJAX Call in a SAPUI5 application. I can access the API fine using POSTMAN, and providing the Basic Authentication credentials. How do I supply these credentials directly in AJAX. I've tried numerous ways from numerous post but no method seems to work. Response from Google Dev Tools (Console Tab) Failed to load https://api2.successfactors.eu/odata/v2/PerPerson?$select=personId: Response to preflight request doesn't pass access control

SAPUI5 / AJAX, submitting Basic Authentication Details

自闭症网瘾萝莉.ら 提交于 2019-12-02 03:33:07
I'm trying to access a SAP Successfactors API from an AJAX Call in a SAPUI5 application. I can access the API fine using POSTMAN, and providing the Basic Authentication credentials. How do I supply these credentials directly in AJAX. I've tried numerous ways from numerous post but no method seems to work. Response from Google Dev Tools (Console Tab) Failed to load https://api2.successfactors.eu/odata/v2/PerPerson?$select=personId: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https:/