123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: cchl
- // (C) Copyright IBM Corp. 2003, 2016.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- function C_QfwRequest(_cCB1, _cZ31){C_QfwRequest._cWV=_cZ31;C_QfwRequest._c3R="";this._c2Z=null;var _cP11 ='<rns1:runSpecification>'+'<bus:specification xsi:type="bus:queryFrameworkSpecification">' +'<bus:value xsi:type="bus:specification">' +_cZ31.F_XMLEncode()+'</bus:value>'+'</bus:specification>'+G_BusServer.F_GetParameterValues()+'<bus:options SOAP-ENC:arrayType="bus:option[]" xsi:type="SOAP-ENC:Array">' +'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + C_BusRequest.K_sPrimaryWaitThreshold + '</bus:value>' +'</item>'+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + C_BusRequest.K_sSecondaryWaitThreshold + '</bus:value>' +'</item>'+'</bus:options>'+'</rns1:runSpecification>';this.F_ConstructBaseClass(_cCB1, C_BusRequest.K_sSOAPAction_reportService_session, _cP11);this.F_SetAsyncBusRequest("rns1:wait", "rns1:cancel", "rns1:getOutput");};C_QfwRequest.F_Extends(C_BusRequest);C_QfwRequest.F_GetLastRequest=function(){return this._cWV?this._cWV:"";};C_QfwRequest.F_GetLastResponse=function(){return this._c3R?this._c3R:"";};C_QfwRequest.prototype.F_GetQfwResponse=function(){return this._c2Z;};C_QfwRequest.prototype.F_ProcessResponse=function(){C_QfwRequest.superClass.F_ProcessResponse.call(this);var _cVI=this.F_GetResponse();if(!_cVI){return;}var _cOM1=_cVI.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result/bus:details/item/bus:output");if(!_cOM1){this.F_SetNewErrorRes("IDS_CCHL_BAD_QFW_RESPONSE");return;}C_QfwRequest._c3R=_cOM1.text;var _cEE1=U_XML.F_LoadString(null, _cOM1.text);this._c2Z=_cEE1?_cEE1.documentElement:null;if(!this._c2Z){this.F_SetNewErrorRes("IDS_CCHL_BAD_QFW_RESPONSE", C_QfwRequest._c3R);return;}};
|