Skip to Content
0
Former Member
Sep 14, 2016 at 02:11 PM

SOAP to RFC Scenario in PI 7.5

365 Views

Hi Experts,

Working on PI Migration, as part of testing SOAP to RFC scenario, we are facing below issue

When we trigger the request data, at response side we are getting below error.

Can you please throw some light on this.

Thanks,

--Sai

<script>

var inPortalScript = false

var webpath = "/logon_ui_resources/"

</script>

<html>

<head>

<BASE target="_self">

<link rel=stylesheet href="/logon_ui_resources/css/ur/ur_ie5.css">

<title>User Management, SAP AG</title>

<script language="javascript">

var originWindowName=window.name;

window.name="logonAppPage";

function restoreWindow() {

try{

window.name=originWindowName;

} catch(ex){}

}

</script>

<script language="JavaScript">

function putFocus(formInst, elementInst) {

if (document.forms.length > 0) {

document.forms[formInst].elements[elementInst].focus();

}

}

function setFocusToFirstField() {

myform = document.changePasswordForm;

try{

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

elem = myform.elements[i];

if (!elem.disabled) {

elemType = elem.type;

if (elemType=="text" || elemType=="password") {

if (!elem.readOnly && elem.value=="") {

elem.focus();

break;

}

}

if (elemType=="select-one" || elemType=="select-multiple" || elemType=="checkbox" || elemType=="radio") {

elem.focus();

break;

}

}

}

} catch(ex){

}

}

function onClickCancel() {

document.changePasswordForm.j_sap_password.value="";

document.changePasswordForm.j_sap_again.value="";

document.changePasswordForm.cancelPasswordChange.value="on";

}

</script>

</head>

<body class="urBdyStd" bgcolor="#F7F9FB" onLoad="setFocusToFirstField()" onUnload="restoreWindow()">

<script language="JavaScript">

var blockPage = false;

</script>

<script language="JavaScript">

function writeMessage() {

document.write("<h2>An unexpected problem has occurred. Please contact your system administrator and show them this message.</h2>");

}

if (blockPage) {

writeMessage();

// According to the tests:

// IE works with document.execCommand() and throws exception if window.stop() is used

// Firefox and Chrome work only with window.stop() but do not throw exception if document.execCommand() is used.

// For IE 11 the appName object below no longer contains Explorer as the previous versions did. So the following solution no longer works for IE11:

//var browserName = navigator.appName;

//if (browserName.indexOf("Explorer") > -1) {

// writeMessage();

// document.execCommand("Stop");

//} else {

// writeMessage();

// window.stop();

//}

// Detecting the browser based on appName or another navigator object is not very trustworthy and future proof. Hopefully a longer lasting solution is:

try {

window.stop();

//document.write("<h2>window.stop() success!</h2>"); //Actually this line could never be printed as FF and Chrome will stop on previous line

} catch (error) {

//document.write("<h2>window.stop() did not work. Exception is: "+error+".</h2>");

try {

document.execCommand("Stop");

//document.write("<h2>document.execCommand(\"Stop\") success!</h2>"); // This would be printed in case of IE

} catch (error) {

//document.write("<h2>document.execCommand(\"Stop\") did not work. Exception is: "+error+".</h2>");

document.write("<h2>This browser cannot prevent the Logon Page frame from loading!<br>Do not submit your credentials and contact your system administrator!</h2>");

}

}

}

</script>

<table id="tblFrmUI" width="790px" valign="middle" dir="ltr" align="center" cellPadding="0" cellSpacing="0" style="background-color:#ffffff;margin-top:50px;">

<tr>

<td><img src="/logon_ui_resources/layout/lf_tl.png" width="29" height="32"></td>

<td background="/logon_ui_resources/layout/lf_st.png"></td>

<td><img src="/logon_ui_resources/layout/lf_tr.png" width="27" height="32"></td>

</tr>

<tr>

<td background="/logon_ui_resources/layout/lf_sl.png"></td>

<td width="100%">

<table id="tblInnerCnt" dir="ltr" cellpadding="0" cellspacing="0">

<tr>

<td valign="top"><div class="urBrandImage"><img src="/logon_ui_resources/layout/branding-image.jpg" alt="Branding Image" border="0"></div></td>

<td width="100%"></td>

<td>

<table height="360px" cellPadding="0" cellSpacing="0">

<tr>

<td valign="top"><div class="urProductName"><img src="/logon_ui_resources/layout/branding-text.gif" alt="" border="0"></div></td>

</tr>

<tr>

<td valign="top" align="left">

<div class="urLogonData">

<!-- data table starts after this line -->

2fsingaporeair.com%2fhr%2fpa%2fCMS%255EMI_2900">

<input name="cancelPasswordChange" type="hidden" value="off">

<input type="hidden" name="j_salt" value="x9BAeitsmcBHbejtdKQd/2+SJFg=" />

<table class="urLogonTable" cellSpacing="3px" cellPadding="0" valign="top">

<tr><td colspan="3">

<div class="urMessageArea">

</div>

</td></tr>

<!-- header line -->

<tr><td align="left" colspan="3">

<div class="urTxtH3">Change Password</div>

</td></tr>

<!-- old password -->

<tr><td>

<label class="urLblStdNew" for="logonoldpassfield"><nobr>Old Password<span class="urLblReq"> *</span></nobr></label>

</td>

<td>

<input type="password" id="logonoldpassfield" name="j_sap_current_password" class="urEdfTxtEnbl" style="width:170px">

</td>

<td width="100%"> </td></tr>

<!-- new password -->

<tr><td>

<label class="urLblStdNew" for="logonnewpassfield"><nobr>New Password<span class="urLblReq"> *</span></nobr></label>

</td>

<td>

<input type="password" id="logonnewpassfield" name="j_sap_password" class="urEdfTxtEnbl" style="width:170px">

</td>

<td> </td></tr>

<!-- retype new password -->

<tr><td>

<label class="urLblStdNew" for="logonretypepassfield"><nobr>Confirm Password<span class="urLblReq"> *</span></nobr></label>

</td>

<td>

<input type="password" id="logonretypepassfield" name="j_sap_again" class="urEdfTxtEnbl" style="width:170px">

</td>

<td> </td></tr>

<!-- submit buttons -->

<tr><td> </td><td align="right">

<input class="urBtnStdNew" type="submit" name="performChangePassword" value="Change" >

<input class="urBtnStdNew" type="submit" name="showUidPasswordLogonPage" value="Cancel" onClick="onClickCancel();" >

</td>

<td> </td></tr>

</table>

</form>

<!-- data table ends before this line -->

</div>

</td>

</tr>

<tr>

<td valign="bottom">

<div class="urCopyrightFrame">

<div class="urCopyrightText">Copyright &copy; SAP AG. All Rights Reserved.</div>

<div class="urCopyrightImage"><img src="/logon_ui_resources/layout/sap_logo.png" alt="SAP AG" title="SAP AG" width="55" height="27"></div>

</div>

</td>

</tr>

</table>

</td>

</tr>

</table>

</td>

<td background="/logon_ui_resources/layout/lf_sr.png"></td>

</tr>

<tr>

<td><img src="/logon_ui_resources/layout/lf_bl.png" width="29" height="32"></td>

<td align="center" background="/logon_ui_resources/layout/lf_sb.png"><span class="clip"><img src="/logon_ui_resources/layout/lf_clip.png" width="298" height="32"></span></td>

<td><img src="/logon_ui_resources/layout/lf_br.png" width="27" height="32"></td>

</tr>

</table>

<script type="text/javascript">

<!--

var docDir = document.dir;

if(docDir=="rtl" || docDir=="RTL"){

var elTableCnt = document.getElementById("tblInnerCnt");

if(elTableCnt!=undefined){

elTableCnt.style.direction="rtl";

}

}

var isFormSubmitted = false;

if( document.forms ) {

document.forms[0].onsubmit=function(){

if( isFormSubmitted ) {

return false;

} else {

isFormSubmitted = true;

return true;

}

}

}

-->

</script>

</body>

</html>