C# Class SampleGenevaSOAPInterface.CallableRunrepSession

Class to start and run callable runrep sessions via the Geneva SOAP interface.
Inheritance: GenevaSOAPSession
Show file Open project: GFTUSA/GFTInternal Class Usage Examples

Public Methods

Method Description
CallableRunrepSession ( string soapURL, string host, int port, string username, string password, bool sharedConnection ) : System

Constructor

GetHeaders ( string report, string parameters, string winSCPPath, string rslFilePath, string windowsOutput, WinSCPSession winSCP ) : List
GetPortfolios ( string query, string windowsOutput ) : List
RunReport ( string report, string parameters, RunrepResultTypes resultType ) : void
RunReports ( List reportList, List portfolioList, string serverType, string version, WinSCPSession winSCP, string winSCPPath, string rslFilePath, string windowsOutput ) : void
RunSQLSelect ( string query, RunrepResultTypes resultType ) : void

Method to run a Geneva SELECT statement.

Private Methods

Method Description
OnReportReady ( object sender, EventArgs e ) : void
OnStartRunningReport ( object sender, EventArgs e ) : void
getFormattedResults ( string report, string parameters, string format ) : void
serializeToConsole ( object results ) : void

Serialize the results from a query or report to the console.

serializeToXml ( object results ) : XmlDocument

Serialize the results object from a query or report to Xml

startRunrepSession ( ) : string

Method to start a callable runrep session.

Method Details

CallableRunrepSession() public method

Constructor
public CallableRunrepSession ( string soapURL, string host, int port, string username, string password, bool sharedConnection ) : System
soapURL string URL for the Geneva SOAP Interface, in the form http://server:port, where port is the dbaserver port number, as defined in dbaserver.ini.
host string Server name that is running your Geneva service manager.
port int Port where the Geneva service manager is running, defined in geneva.ini.
username string Geneva username to login and run your report.
password string Password for the Geneva user.
sharedConnection bool True if this is a shared connection, false if you want to use a persistent connection.
return System

GetHeaders() public method

public GetHeaders ( string report, string parameters, string winSCPPath, string rslFilePath, string windowsOutput, WinSCPSession winSCP ) : List
report string
parameters string
winSCPPath string
rslFilePath string
windowsOutput string
winSCP WinSCPSession
return List

GetPortfolios() public method

public GetPortfolios ( string query, string windowsOutput ) : List
query string
windowsOutput string
return List

RunReport() public method

public RunReport ( string report, string parameters, RunrepResultTypes resultType ) : void
report string
parameters string
resultType RunrepResultTypes
return void

RunReports() public method

public RunReports ( List reportList, List portfolioList, string serverType, string version, WinSCPSession winSCP, string winSCPPath, string rslFilePath, string windowsOutput ) : void
reportList List
portfolioList List
serverType string
version string
winSCP WinSCPSession
winSCPPath string
rslFilePath string
windowsOutput string
return void

RunSQLSelect() public method

Method to run a Geneva SELECT statement.
public RunSQLSelect ( string query, RunrepResultTypes resultType ) : void
query string String containing the SELECT statement to run.
resultType RunrepResultTypes
return void