Quantcast
Channel: SCN : All Content - SAP NetWeaver Application Server
Viewing all articles
Browse latest Browse all 2997

How to verify if SSO is working between SAP PO and SAP GATEWAY

$
0
0

Hi All,

 

Basis team has already configured SSO between these systems, but I want to verify if it is done properly. What step do i need to follow to check if it is configured properly ?

 

If at all I find SSO is configured correctly , How I can pass that MYSAPSSO2 token and consume service exposed by Gateway.

 

I am doing this way but getting HTTP 400 error

 

 

 

Cookie[] cookies = request.getCookies();

  String myCookeString = "";

  for (int i = 0; i < cookies.length; i++) {

  myCookeString = myCookeString+cookies[i].getName() +"="+ cookies[i].getValue()+"; ";

  }

  URL gatewayServiceUrl = new URL("http://192.168.1.35:8020/sap/opu/odata/sap/ZGW_BPM_TEST_SERVICE_SRV/GetData1Set?$filter=name eq 'ABCD'");

  HttpURLConnection connection = (HttpURLConnection) gatewayServiceUrl.openConnection();

  connection.addRequestProperty("Cookie",myCookeString);

  connection.setRequestMethod("HEAD");

  connection.connect();


Viewing all articles
Browse latest Browse all 2997

Trending Articles



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