0 Replies Latest reply on Oct 28, 2013 4:30 AM by pandianAM

    cancel query while exceute query

      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.