cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to call SAML service from Java Web Tomcat 8 (SAP) local server

Former Member
0 Kudos
246

I have a scenario where I need to call a SAML authenticated Rest service from Java. For example, I need to call SAP Cloud Platform Workflow API from Java, the API that I need to call is SAML authenticated. If I try to do the same using Java from Java Web Tomcat 8, I get 200 ok in the response code but I do not get the expected response, In return, I am getting some error page. I am attaching the screenshot for that. Could anyone please provide solution on how to do the same.

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
SAP Mentor
SAP Mentor
0 Kudos

Please check if there are other authentication options than SAML for the REST API you want to call. I.e. the SCP Workflow API allows you to use OAuth. SAML is intended for End-User Authentication. The last resort might be my project https://github.com/gregorwolf/hanatrial-auth-proxy.