Quantcast
Channel: SCN : Unanswered Discussions - BI Platform
Viewing all articles
Browse latest Browse all 5661

Access BEx URL using Basic Authentication

$
0
0

Dear all,

 

we have a requirement to fetch data from BI using SAP PI. I'm the PI guy so please be gentle with me on BI specifica ;-)

 

We were originally given the following link from the BI team to have the XML fetched (shortened after path in this example). When I enter this in the browser, I get a web based authentication form, asking for username and password. I can successfully authenticate myself and request ist performed.

http://hostname:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.…

We found out that by doing this initial GET for the first link, the browser actually receives a HTML where an iFrame resides in which itself  does a POST to this address

http://hostname:50100/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher

The POST of course had all the URL parameters of the initial GET in the body of the request. So far nothing particular special. Ordinary POST using form style content-type.

 

However, the POST used a cookie which I retrieved from the initial GET after is specified sais username / password in the authentication form.


Now to my problem:

The request fails when I do not specify that cookie and use basic authentication instead (I did this capturing the POST and then changed and replayed it via Fiddler Tool).


Question:

What do I need to perform to have  BI accept good ol' basic auth for the POST to  "http://hostname:50100/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.web.portal.integration.launcher" ? This whole process runs outside SAP portal, fyi.


Many thanks and kind regards

Jens


Viewing all articles
Browse latest Browse all 5661

Trending Articles



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