<br>Has anyone in the community considered adding query cancel support to Mondrian XMLA?  While cancelling is not included in the XMLA spec, Microsoft has introduced an extension to support it (see request/response below).  It requires some minimal level of session support, since the cancel request needs to be able to identify the request somehow.<br>

<div class="gmail_quote"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal" style="margin-bottom:12.0pt">
<br>
<b><span style="font-size:10.0pt">Request:</span></b>
<br>
<br>
<span style="font-size:10.0pt;color:teal">&lt;?xml
version=&quot;1.0&quot;?&gt;</span> <br>
<span style="font-size:10.0pt;color:blue">&lt;</span><span style="font-size:10.0pt;color:maroon">SOAP-ENV:Envelope</span><span style="font-size:10.0pt;color:red"> xmlns:SOAP-ENV</span><span style="font-size:10.0pt;color:blue">=&quot;</span><a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"><span style="font-size:10.0pt">http://schemas.xmlsoap.org/soap/envelope/</span></a><span style="font-size:10.0pt;color:blue">&quot;</span><span style="font-size:10.0pt;color:red"> xmlns:xsi</span><span style="font-size:10.0pt;color:blue">=&quot;</span><a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"><span style="font-size:10.0pt">http://www.w3.org/2001/XMLSchema-instance</span></a><span style="font-size:10.0pt;color:blue">&quot;</span><span style="font-size:10.0pt;color:red"> xmlns:xsd</span><span style="font-size:10.0pt;color:blue">=&quot;</span><a href="http://www.w3.org/2001/XMLSchema" target="_blank"><span style="font-size:10.0pt">http://www.w3.org/2001/XMLSchema</span></a><span style="font-size:10.0pt;color:blue">&quot;&gt;</span> <br>


<span style="font-size:10.0pt">     
  <span style="color:blue">&lt;</span><span style="color:maroon">SOAP-ENV:Header</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
          <span style="color:blue">&lt;</span><span style="color:maroon">XA:Session</span><span style="color:red"> xmlns:XA</span><span style="color:blue">=&quot;</span>urn:schemas-microsoft-com:xml-analysis<span style="color:blue">&quot;</span><span style="color:red"> mustUnderstand</span><span style="color:blue">=&quot;</span>1<span style="color:blue">&quot;</span><span style="color:red"> SessionId</span><span style="color:blue">=&quot;</span>841406E4-B4BD-4208-AB47-AACDF5E8A720<span style="color:blue">&quot;/&gt;</span></span> <br>


<span style="font-size:10.0pt">     
  <span style="color:blue">&lt;/</span><span style="color:maroon">SOAP-ENV:Header</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
  <span style="color:blue">&lt;</span><span style="color:maroon">SOAP-ENV:Body</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
          <span style="color:blue">&lt;</span><span style="color:maroon">Execute</span><span style="color:red"> xmlns</span><span style="color:blue">=&quot;</span>urn:schemas-microsoft-com:xml-analysis<span style="color:blue">&quot;</span><span style="color:red"> SOAP-ENV:encodingStyle</span><span style="color:blue">=&quot;</span></span><a href="http://schemas.xmlsoap.org/soap/encoding/" target="_blank"><span style="font-size:10.0pt">http://schemas.xmlsoap.org/soap/encoding/</span></a><span style="font-size:10.0pt;color:blue">&quot;&gt;</span> <br>


<span style="font-size:10.0pt">     
                  <span style="color:blue">&lt;</span><span style="color:maroon">Command</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
                     
    <b><span style="color:blue">&lt;</span><span style="color:maroon">Cancel</span><span style="color:red"> xmlns</span><span style="color:blue">=&quot;</span></b></span><a href="http://schemas.microsoft.com/analysisservices/2003/engine" target="_blank"><b><span style="font-size:10.0pt">http://schemas.microsoft.com/analysisservices/2003/engine</span></b></a><b><span style="font-size:10.0pt;color:blue">&quot;&gt;</span></b>
<br>
<b><span style="font-size:10.0pt">     
                     
            <span style="color:blue">&lt;</span><span style="color:maroon">SessionID</span><span style="color:blue">&gt;</span>841406E4-B4BD-4208-AB47-AACDF5E8A720<span style="color:blue">&lt;/</span><span style="color:maroon">SessionID</span><span style="color:blue">&gt;</span></span></b> <br>


<b><span style="font-size:10.0pt">     
                     
    <span style="color:blue">&lt;/</span><span style="color:maroon">Cancel</span><span style="color:blue">&gt;</span></span></b> <br>
<span style="font-size:10.0pt">     
                  <span style="color:blue">&lt;/</span><span style="color:maroon">Command</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
                  <span style="color:blue">&lt;</span><span style="color:maroon">Properties</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
                     
    <span style="color:blue">&lt;</span><span style="color:maroon">PropertyList</span><span style="color:blue">/&gt;</span></span> <br>
<span style="font-size:10.0pt">     
                  <span style="color:blue">&lt;/</span><span style="color:maroon">Properties</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
          <span style="color:blue">&lt;/</span><span style="color:maroon">Execute</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
  <span style="color:blue">&lt;/</span><span style="color:maroon">SOAP-ENV:Body</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt;color:blue">&lt;/</span><span style="font-size:10.0pt;color:maroon">SOAP-ENV:Envelope</span><span style="font-size:10.0pt;color:blue">&gt;</span> <br>
<br>
<b><span style="font-size:10.0pt">Response:</span></b>
<br>
<br>
<span style="font-size:10.0pt;color:blue">&lt;</span><span style="font-size:10.0pt;color:maroon">soap:Envelope</span><span style="font-size:10.0pt;color:red"> xmlns:soap</span><span style="font-size:10.0pt;color:blue">=&quot;</span><a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"><span style="font-size:10.0pt">http://schemas.xmlsoap.org/soap/envelope/</span></a><span style="font-size:10.0pt;color:blue">&quot;&gt;</span> <br>


<span style="font-size:10.0pt">     
  <span style="color:blue">&lt;</span><span style="color:maroon">soap:Body</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
          <span style="color:blue">&lt;</span><span style="color:maroon">ExecuteResponse</span><span style="color:red"> xmlns</span><span style="color:blue">=&quot;</span>urn:schemas-microsoft-com:xml-analysis<span style="color:blue">&quot;&gt;</span></span> <br>


<span style="font-size:10.0pt">     
                  <span style="color:blue">&lt;</span><span style="color:maroon">return</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
                     
    <span style="color:blue">&lt;</span><span style="color:maroon">root</span><span style="color:red"> xmlns</span><span style="color:blue">=&quot;</span>urn:schemas-microsoft-com:xml-analysis:empty<span style="color:blue">&quot;/&gt;</span></span> <br>


<span style="font-size:10.0pt">     
                  <span style="color:blue">&lt;/</span><span style="color:maroon">return</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt">     
          <span style="color:blue">&lt;/</span><span style="color:maroon">ExecuteResponse</span><span style="color:blue">&gt;</span></span>
<br>
<span style="font-size:10.0pt">     
  <span style="color:blue">&lt;/</span><span style="color:maroon">soap:Body</span><span style="color:blue">&gt;</span></span> <br>
<span style="font-size:10.0pt;color:blue">&lt;/</span><span style="font-size:10.0pt;color:maroon">soap:Envelope</span><span style="font-size:10.0pt;color:blue">&gt;</span> <br>
<br></p></div></div></div>