// 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_ValidationRequest(_cCB1, _cLS1, _c2L, _c15, _cBZ, _cC3){C_ValidationRequest._cCZ="";C_ValidationRequest._cDP="";this._cH91=null;this._c8J1=null;var _cLE1=_c2L?_c2L:'warning';_cC3=_cC3||'reportServiceReportSpecification';var _cP11 =''+'' +'' +_cLS1.F_XMLEncode()+''+''+G_BusServer.F_GetParameterValues()+'' +'- ' +'primaryWaitThreshold' +'' + C_BusRequest.K_sPrimaryWaitThreshold + '' +'
'+'- ' +'secondaryWaitThreshold' +'' + C_BusRequest.K_sSecondaryWaitThreshold + '' +'
'+'- ' +'checkMemberUniqueNames' +'true' +'
'+'- ' +'severity' +'' +_cLE1+''+'
'+'- ' +'http://developer.cognos.com/ceba/constants/runOptionEnum#locateByRoid' +'true' +'
'+(_c15 ?('- ' +'hint' +'interactiveHTML' +'
'):(''))+''+'';this.F_ConstructBaseClass(_cCB1, C_BusRequest.K_sSOAPAction_reportService, _cP11);this.F_SetAsyncBusRequest("rns1:wait", "rns1:cancel", "rns1:getOutput");};C_ValidationRequest.F_Extends(C_BusRequest);C_ValidationRequest.F_GetLastQueryInfo=function(){return this._cDP?this._cDP:"";};C_ValidationRequest.F_GetLastDefects=function(){return this._cCZ?this._cCZ:"";};C_ValidationRequest.prototype.F_GetQueryInfo=function(){return this._cH91;};C_ValidationRequest.prototype.F_GetDefects=function(){return this._c8J1;};C_ValidationRequest.prototype.F_ProcessResponse=function(){C_ValidationRequest.superClass.F_ProcessResponse.call(this);var _cVI=this.F_GetResponse();if(!_cVI){return;}var _c9G1=_cVI.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body/*/bus:result/bus:details");if(!_c9G1){this.F_SetNewErrorRes("IDS_CCHL_BAD_VALIDATION_RESPONSE");return;}var _c9J1=_c9G1.selectSingleNode("item/bus:defects");var _cI91=_c9G1.selectSingleNode( "item/bus:queryInfo | item/bus:sql");var _cAJ1=_c9J1?_c9J1.text:"";var _cJ91=_cI91?("" + _cI91.text + ""):"";C_ValidationRequest._cCZ=_cAJ1;C_ValidationRequest._cDP=_cJ91;var d=U_XML.F_LoadString(null, _cJ91, false);var _cI91=(d&&d.documentElement)?d.documentElement:null;if(!_cI91){this.F_SetNewErrorRes("IDS_CCHL_BAD_VALIDATION_RESPONSE", _cJ91);return;}var d=U_XML.F_LoadString(null, _cAJ1, false);var _c9J1=(d&&d.documentElement)?d.documentElement:null;if(!_c9J1){this.F_SetNewErrorRes("IDS_CCHL_BAD_VALIDATION_RESPONSE", _cAJ1);return;}this._cH91=_cI91;this._c8J1=_c9J1;};