The login method establishes a persistent connection to Adaptive Server Enterprise.
login aseServerName userName password
aseServerName
SOAP string indicating the name of the Adaptive Server Enterprise on which to execute the SQL statement or stored procedure.
For the login method, ASE Web Services uses the value of aseServerName in the same manner as for the execute method.
username
SOAP string indicating the user ID needed to log in to the Adaptive Server Enterprise.
password
SOAP string indicating the password needed to log in to the Adaptive Server Enterprise.
Before a SQL statement or stored procedure can be executed on Adaptive Server Enterprise, a connection must first be established. However, the login method is optional. If you invoke an execute method without first invoking the login method, ASE Web Services automatically establishes a non-persistent connection to Adaptive Server Enterprise. The login method initiates a persistent connection to Adaptive Server Enterprise. The connection is terminated with the logout method. Persistent connections that are inactive for 60 seconds are terminated automatically.