[Mondrian] Cancel Support

Matt Campbell mkambol at gmail.com
Thu Jan 7 09:36:31 EST 2010


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.


*Request:*

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
        <SOAP-ENV:Header>
                <XA:Session xmlns:XA="urn:schemas-microsoft-com:xml-analysis
" mustUnderstand="1" SessionId="841406E4-B4BD-4208-AB47-AACDF5E8A720"/>
        </SOAP-ENV:Header>
        <SOAP-ENV:Body>
                <Execute
xmlns="urn:schemas-microsoft-com:xml-analysis"SOAP-ENV:encodingStyle
="http://schemas.xmlsoap.org/soap/encoding/">
                        <Command>
                                *<Cancel xmlns="**
http://schemas.microsoft.com/analysisservices/2003/engine*<http://schemas.microsoft.com/analysisservices/2003/engine>
*">*
*                                        <SessionID>
841406E4-B4BD-4208-AB47-AACDF5E8A720</SessionID>*
*                                </Cancel>*
                        </Command>
                        <Properties>
                                <PropertyList/>
                        </Properties>
                </Execute>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

*Response:*

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
        <soap:Body>
                <ExecuteResponse xmlns="
urn:schemas-microsoft-com:xml-analysis">
                        <return>
                                <root xmlns="
urn:schemas-microsoft-com:xml-analysis:empty"/>
                        </return>
                </ExecuteResponse>
        </soap:Body>
</soap:Envelope>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20100107/d299a1ae/attachment.html 


More information about the Mondrian mailing list