org.openi.olap.drillthrough
Class DrillthroughHelper
java.lang.Object
org.openi.olap.drillthrough.DrillthroughHelper
public class DrillthroughHelper
- extends java.lang.Object
executes DT mdx and parses the results in CSV format and writes it to
outputstream
|
Method Summary |
static javax.xml.soap.SOAPMessage |
constructDrillthroughSoapMessage(java.lang.String mdxQuery,
java.lang.String datasource,
java.lang.String catalog)
creates drillthrough xmla soap request message |
static void |
executeDrillthrough(java.net.URL url,
javax.xml.soap.SOAPMessage request,
java.io.OutputStream outstream)
|
static void |
executeDrillthrough(java.net.URL url,
java.lang.String mdxQuery,
java.lang.String datasource,
java.lang.String catalog,
java.io.OutputStream outstream)
executes dt soap request and writes result to the output stream |
static java.io.InputStream |
executeSOAP(javax.xml.soap.SOAPMessage message,
java.lang.String endUrl)
executes drillthrough soap request and returns response inputstream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_SIZE
public static int BUFFER_SIZE
DrillthroughHelper
public DrillthroughHelper()
executeDrillthrough
public static void executeDrillthrough(java.net.URL url,
javax.xml.soap.SOAPMessage request,
java.io.OutputStream outstream)
throws java.lang.Exception
- Parameters:
url - request - outstream -
- Throws:
java.lang.Exception
executeDrillthrough
public static void executeDrillthrough(java.net.URL url,
java.lang.String mdxQuery,
java.lang.String datasource,
java.lang.String catalog,
java.io.OutputStream outstream)
throws java.lang.Exception
- executes dt soap request and writes result to the output stream
- Parameters:
url - request - outstream -
- Throws:
java.lang.Exception
constructDrillthroughSoapMessage
public static javax.xml.soap.SOAPMessage constructDrillthroughSoapMessage(java.lang.String mdxQuery,
java.lang.String datasource,
java.lang.String catalog)
throws javax.xml.soap.SOAPException
- creates drillthrough xmla soap request message
- Parameters:
mdxQuery - drillthrough MDXdatasource - xmla datasourcename - used in request as DataSourceInfocatalog - -
catalog
- Returns:
-
- Throws:
javax.xml.soap.SOAPException
executeSOAP
public static java.io.InputStream executeSOAP(javax.xml.soap.SOAPMessage message,
java.lang.String endUrl)
throws javax.xml.soap.SOAPException
- executes drillthrough soap request and returns response inputstream
- Parameters:
message - endUrl -
- Returns:
-
- Throws:
javax.xml.soap.SOAPException