123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: hal
- // (C) Copyright IBM Corp. 2003, 2017.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- function C_SoapRequest(_hLN1, _hS22, _hHD1, _h571){this.F_ConstructBaseClass(_hLN1, "POST", _hS22);this.F_SetRequestHeader( "Content-Type", "text/xml; charset=utf-8" );if(_hHD1){this.F_SetSoapAction(_hHD1);}if(_h571){this.F_SetRequestBody(_h571);}};C_SoapRequest.F_Extends(C_WebRequest);C_SoapRequest.prototype.F_IsSuccessStatus=function(){return((this.F_GetStatus()==500||this.F_GetStatus()==401)||C_SoapRequest.superClass.F_IsSuccessStatus.call(this));};C_SoapRequest.prototype.F_SetSoapAction=function(_hHD1){var i=this._hNP.indexOf("SOAPAction");if(i!=-1){this._hNP.splice(i, 2);}this.F_SetRequestHeader("SOAPAction", _hHD1);};
|