On the click of a button in my (SAP) Adobe Interactive Form,
I need to verify the log in user id and password to SAP portal and get the status or something back.
So I chose the following approach with javascript
at button CLICK event in the adobe form
var cPortalUrl = "https://xyz.abcd.com:50001/irj/portal?j_user=<userid>&j_password=<password>";
var cStatus;
var pingportalstatus =
function PortalPing (cPortalUrl){
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function()
{
cStatus = xmlHttp.status;
};
xmlHttp.open("GET", cPortalUrl, false);
xmlHttp.send();
return xmlHttp.status;
};
But I am not getting any status back in cStatus.
Please advise
Thanks,
Bhaskar