_rc8.js 6.3 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function _rc8(_b6k, _inc, _zmc, _68e, _a54, _pmc, _gwf, _wqg){var _n37="";if(_zmc&&_zmc!=""){_n37='<item xsi:type="bus:runOptionData">' +'<bus:name xsi:type="bus:runOptionEnum">data</bus:name>' +'<bus:value xsi:type="bus:dataEnum">' + _zmc + '</bus:value>' +'</item>';}var _11b='<item xsi:type="bus:runOptionAnyURI">' +'<bus:name xsi:type="bus:runOptionEnum">outputLocation</bus:name>' + '<bus:value xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/temporaryObjectLocationEnum#serverFileSystem</bus:value>' +'</item>';if(_a54){_11b="";}var _nel=this._gvh();var _ewf=(_gwf)||(this._dim?'run':'runSpecification');var _8o1;if(this._dim){_8o1='<bus:objectPath xsi:type="bus:searchPathSingleObject">' + _cgm._e8j( _inc ) + '</bus:objectPath>';}else{_8o1 ='<bus:specification xsi:type="' + (this._tob?'bus:reportServiceInteractiveReportSpecification':'bus:reportServiceReportSpecification') + '">' +'<bus:value xsi:type="bus:specification">' +_cgm._e8j(_inc)+'</bus:value>'+'</bus:specification>';}var _y06=_ylh._gm3();var _2x2='';if(this._5mg&&this._5mg.globalParameters){_2x2 ='<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">runOptionEnum#globalParameters</bus:name>' +'<bus:value xsi:type="xsd:string">' + _cgm._e8j( this._5mg.globalParameters ) + '</bus:value>' +'</item>';}var _4eh='<rns1:' + _ewf + '>' +_8o1+(_wqg?this._w71(_wqg):_f8j._d66())+'<bus:options SOAP-ENC:arrayType="bus:option[]" xsi:type="SOAP-ENC:Array">' +_2x2+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _ylh._1r3 + '</bus:value>' +'</item>'+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _ylh._ok2 + '</bus:value>' +'</item>'+'<item xsi:type="bus:runOptionStringArray">' +'<bus:name xsi:type="bus:runOptionEnum">outputFormat</bus:name>' +'<bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">' +'<item>'+(_68e||'XHTML')+'</item>'+'</bus:value>'+'</item>'+'<item xsi:type="bus:asynchOptionEncoding">' +'<bus:name xsi:type="bus:asynchOptionEnum">attachmentEncoding</bus:name>' +'<bus:value xsi:type="bus:encodingEnum">' + _y06 + '</bus:value>' +'</item>'+'<item xsi:type="bus:runOptionAnyURI"><bus:name xsi:type="bus:runOptionEnum">xslURL</bus:name><bus:value xsi:type="xsd:string">' + this._o4d((this._tob?"":"viewer")) + '</bus:value></item>' +( _nel?( '<item xsi:type="bus:runOptionInt">' +'<bus:name xsi:type="bus:runOptionEnum">verticalElements</bus:name>' +'<bus:value xsi:type="xsd:int">' + _nel + '</bus:value>' +'</item>' ):'' ) +'<item xsi:type="bus:runOptionString">' +'<bus:name xsi:type="bus:runOptionEnum">promptFormat</bus:name>' +'<bus:value xsi:type="xsd:string">XHTMLFRGMT</bus:value>' +'</item>'+((this._nbj()!=undefined)?('<item xsi:type="bus:runOptionBoolean">' +'<bus:name xsi:type="bus:runOptionEnum">prompt</bus:name>' +'<bus:value xsi:type="xsd:boolean">' + this._nbj() + '</bus:value>' +'</item>'):'')+_n37+_11b+this._j2a()+'<item xsi:type="bus:genericOptionBoolean">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#interactive</bus:name>' +'<bus:value xsi:type="xsd:boolean">true</bus:value>' +'</item>'+(this._tob?(this._5mg&&this._5mg.Download=="true"?'':'<item xsi:type="bus:genericOptionBoolean">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#preview</bus:name>' +'<bus:value xsi:type="xsd:boolean">true</bus:value>' +'</item>')+'<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#promptXslUrl</bus:name>' +'<bus:value xsi:type="xsd:string">' + this._o4d("viewer") + '</bus:value>' +'</item>':'<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#promptXslUrl</bus:name>' +'<bus:value xsi:type="xsd:string">V5html_viewer.xsl</bus:value>' +'</item>')+'</bus:options>'+'</rns1:' + _ewf + '>';this._0t7=null;console.time('rsperf: RunReportRequest');_rc8.baseConstructor.call(this, _b6k, _ylh._4s1, _4eh);if(_pmc){this._ck8("X-RsCMStoreID", _pmc);} if(_qkk._qik("RunReportDelay")){this._ign=_olk._zn9(_rc8.superClass._ign.bind(this), _qkk._qik("RunReportDelay"));}};_olk._vjl(_rc8, _ylh);_rc8.prototype._nbj=function(){return 'false';};_rc8.prototype._w71=function(_wqg){var a=[];a.push( '<bus:parameterValues ' + _ylh._ln5 + ' ' + _10g._lml + ' ' + _10g._oke + ' SOAP-ENC:arrayType="bus:parameterValue[]" xsi:type="SOAP-ENC:Array">' );for(var i=0;i<_wqg.length;i++){var _lui=_wqg[i];var _ylc=_lui.name;var _o49=_lui.value;var _7h3=_o49.length;a.push( '<item xsi:type="bus:parameterValue">' );a.push( '<bus:name xsi:type="xsd:string">' + _cgm._e8j( _ylc ) + '</bus:name>' );a.push( '<bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:parmValueItem[' + _7h3 + ']">' );for(var j=0;j<_7h3;j++){var o=_o49[j];var _0yk=Boolean(o.start||o.end);a.push((_0yk?_0r:_u02)._a7g(o));}a.push('</bus:value>');a.push('</item>');}a.push('</bus:parameterValues>');return a.join("");};_rc8.prototype._o4d=function(){return 'null.xsl';};_rc8.prototype._gvh=function(){return "";};_rc8.prototype._j2a=function(){return "";};_rc8.prototype._kt9=function(){console.timeEnd('rsperf: RunReportRequest');_rc8.superClass._kt9.call(this);this._x23();var _7ma=this._63g();if(!_7ma){return;}this._mhd=this._m7b(_7ma);this._cog=this._nkb(_7ma);};_rc8.prototype._xq9=function(){return this._mhd;};_rc8.prototype._xtc=function(){return this._cog;};_rc8.prototype._nkb=function(_7ma){if(_7ma){var n=_7ma.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body//bus:specification/bus:value/@href");if(n){var _adn=n.nodeValue;var _qnn=_adn.split(":")[1];return this._72g(_qnn);}}return null;};_rc8.prototype._pi1=function(){var _91j='';var _w1b=_erh._m66();if(_w1b){_91j='<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#saveSearchPath</bus:name>' +'<bus:value xsi:type="xsd:string">' + _cgm._e8j( _w1b ) + '</bus:value>' +'</item>';}return _91j;};