Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

HCP - SAML Connection to SuccessFactors

$
0
0

Hello,

 

I am currently working on some JAVA code and could not find a reason why my code is not working. I am building a consumer of oData that is connecting on SuccessFactors, the destination is configured using the guidelines.

 

I think my issue sits on the library I am using. I deployed the application on HCP as a Java Web and used the JRE 7.

2015-07-31_20-36-31.jpg

 

My code looks like the following

import org.apache.http.client.methods.HttpGet;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;

 

  HttpGet get = createGetRequest(path);  HttpResponse response;  try {  response = httpClient.execute(get);  } catch (Exception ex) {  }

And for a reason I cannot explain, when the app reaches httpClient.execute(get), it does not even raise the exception and it goes out of the method.

 

In debug, I see the following which makes me think that something is wrong with the arguments I pass to the method.

The HttpClient has the type com.sap.core.connectivity.httpdestination.impl.HttpClientWrapper.

 

2015-07-31_20-43-47.jpg

 

I also check the methods using httpClient.getClass().getMethods() and could find that the method was present.

 

I was wondering if someone could help me find a solution of point me to some direction

 

Thanks

Greg


Viewing all articles
Browse latest Browse all 3131

Trending Articles



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