0 Replies Latest reply: Oct 27, 2013 11:30 PM by pandianAM RSS

    cancel query while exceute query

    pandianAM
      1. xmlService.cancelQuery(QueryID, m_sessionID);

       

      QueryResults xmlresult= xmlService.executeXMLQuery(reportRef, XMLQueryOutputFormat.SAWRowsetData, executionOptions, rp, m_sessionID);

       

      I want to cancel the query that is currently being executed . It requires QueryID  and sessionID but the “executeXMLQuery” returns the query id only after it has been executed. How to get the “ query id”  while the executeXMLQuery is still in process.