C# Class SampleGenevaSOAPInterface.CallableRunrepSession

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat System

GetHeaders() public méthode

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
Résultat List

GetPortfolios() public méthode

public GetPortfolios ( string query, string windowsOutput ) : List
query string
windowsOutput string
Résultat List

RunReport() public méthode

public RunReport ( string report, string parameters, RunrepResultTypes resultType ) : void
report string
parameters string
resultType RunrepResultTypes
Résultat void

RunReports() public méthode

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
Résultat void

RunSQLSelect() public méthode

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
Résultat void