ApplinX Administrative Web Services API provides the developer the capability to retrieve data and perform actions based on information received from ApplinX server in runtime, without accessing the ApplinX Designer or Administrator but rather using standard Web services.
Using these Web services you can:
Note:
The user name required in this method refers to a user who has ApplinX
server Administrator permissions.
This Web service retrieves data regarding server information.
URL: http://localhost:2380/wsstack/services/ServerManager?wsdl
Note:
This address is relevant when working with the WS-Stack in local
mode. When working in remote mode, you need to update the server address to
reflect the WS-Stack server address.
Returns a ServerInformationResponse
object which
contains the ServerInfomation object.
Format: ServerInformationResponse
getServerInformation(ServerInformationRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The ApplinX server’s version.
The date and time the server was last initialized.
The number of currently active sessions.
The number of sessions currently idle (connected, but detached).
The number of sessions currently performing actions against the host.
The total number of sessions opened since the server was started.
The number of threads that were activated.
The number of threads that were activated, but are currently not being used.
The total amount of memory (in bytes) that is currently allocated to ApplinX server on the Java Virtual Machine.
The amount of memory (in bytes) currently available for ApplinX to use.
Returns a sessionsCountersResponse
object which
contains the ConnectionsPerLicense object.
Format: sessionsCountersResponse
getSessionsCounters(sessionsCountersRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
Each of the parameters includes the number of connections currently being used, the maximum number of connections ever connected at one time and the date and time that this occurred. Notice that each of the parameters relates to a specific type of connection.
Relates to Web enablement connections (excluding printer sessions).
Relates to the printer sessions. The printer sessions are counted as Web Enablement connections.
Relates to the SOA enablement connections (excluding Web integration and RPC connections).
Relates to Web Integration connections. The Web Integration connections are counted as SOA connections.
Relates to RPC connections. The RPC connections are counted as SOA connections.
Relates to the unassigned connections in the connection pool.
This Web service retrieves data regarding session information.
URL: http://localhost:2380/wsstack/services/SessionManager?wsdl
Note:
This address is relevant when working with the WS-Stack in local
mode. When working in remote mode, you need to update the server address to
reflect the WS-Stack server address.
Returns a object which contains a list of all
the sessions that are open on the server.
Format: GetAllSessionsResponse
getAllSessions(GetAllSessionsRequest request)
getServerInformation(ServerInformationRequest
request).
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
An array of Session objects which contain the session information.
Returns a GetApplicationSessionsResponse
object
which contains a list of sessions that are connected to a specific
application.
Format: GetApplicationSessionsResponse
getApplicationSessions(GetApplicationSessionsRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
An array of Session objects which contain the session information.
Returns a GetServiceSessionsResponse
object
which contains a list of sessions that are connected to a specific Connection
pool.
Format: GetServiceSessionsResponse
getServiceSessions(GetServiceSessionsRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the Connection Pool
An array of Session objects which contain the session information.
Returns a CancelSessionResponse
object which
contains a boolean that indicates that the session has been canceled.
Format: CancelSessionResponse cancelSession(CancelSessionRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The ID of the session that you would like to cancel.
Returns true or false, to indicate the success or failure of the action.
The session’s ID on the ApplinX server.
The session’s description. For example, this may be the session’s computer address.
The type of session: Display session, Printer session, RPC session, Web Integration session or Development session.
The name of the application on ApplinX server to which this session is connected.
Workstation ID, available only in certain protocols.
The current communication status between ApplinX server and the host. Can be either: Idle (connected, not attached), Initializing, Processing (executing an action), Active (attached), or Disconnecting.
The time period a session has not performed a communication activity with the host.
The name of the current screen. When the screen is not identified this will be UNKNOWN.
The IP address from where the session is connected to ApplinX.
The IP address of the host.
The GCT file name that is working with this session and the screen number in the GCT file.
The name of the trace file that is tracing the current session.
The number of bytes sent to the host.
The number of bytes received from the host
The name of the connection pool used by the current session. Will return an empty value when no connection pool is used by the session.
This Web service retrieves runtime data regarding existing connection pools and enables starting and stopping these services.
URL: http://localhost:2380/wsstack/services/ServiceManager?wsdl
Note:
This address is relevant when working with the WS-Stack in local
mode. When working in remote mode, you need to update the server address to
reflect the WS-Stack server address.
Returns a GetApplicationServicesResponse
object
which contains a list of connection pools and their status, for a specific
application.
Format: GetApplicationServicesResponse
getApplicationServices(GetApplicationServicesRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
An array of Service objects which contain the session information.
Returns a GetFolderServicesResponse
object which
contains a list of names and status of connection pools that are in a specific
folder of an application.
Format: GetFolderServicesResponse
getFolderServices(GetFolderServicesRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the folder where the connection pools are located.
An array of Service objects which contain the session information.
The name of the connection pool.
The folder in which the connection pool is placed.
The connection pool’s status: Not Started, Initializing, Active, In standby, Suspended, Stopping or Stopped.
The number of connections currently held by a session (user).
The number of connections ready for use.
The number of connections currently in the Processing state.
The average time (in milliseconds) sessions waited for a READY connection (calculated only among those sessions that waited) multiplied by the percentage of waiting sessions. For example: if 8% sessions had to wait, and in average each of those waited 1000 milliseconds, the overall average wait time was: 0.08 * 1000 = 80 milliseconds.
The percent of sessions that did not immediately get a connection when trying to connect to ApplinX.
The total number of connections in the connection pool (since the last time the connection pool was started), ignoring broken connections.
The maximum number of connections that were connected concurrently since the connection pool started.
The total number of sessions that connected to the host service since the connection pool started.
The maximum number of sessions that were connected concurrently since the connection pool started.
The name of the information set used by this connection pool.
The number of users currently waiting for a connection.
the number of users who received a timeout after a connection was not assigned to them.
the total number of users who waited for a connection since the connection pool was last started.
Maximum time, since the session started, that a user waited for a connection.
Returns true or false, to indicate the success or failure of the action.
Returns a CancelConnectionResponse
object which
contains a boolean that indicates that the connection has been canceled.
Format: CancelConnectionResponse
cancelConnection(CancelConnectionRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection pool
The name of the folder where the connection pools are located.
The ID of the connection which you would like to cancel.
Returns true or false, to indicate the success or failure of the action.
Returns a GetServiceConnectionsRequest
object
which contains a list of connections for a specific Connection Pool.
Format: GetServiceConnectionsRequest
getServiceConnections(GetServiceConnectionsRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection pool
An array of ServiceConnection objects which contain the session information.
The identifier of the connection.
The current status of the connection. Possible values: Active, Ready, Initializing, Recycling, Keep-alive, Terminating or Broken.
Active connections only—displays the ID of the session holding the displayed connection.
The amount of time that has elapsed since the session status last changed.
Displays error messages for broken connections.
The time the connection was created.
The time the status was last changed.
The number of sessions this specific connection served so far.
The connection information set row number used by the connection.
The name of the current screen.
Starts the connection pool specified in the request and returns a response object with a boolean indicating success or failure.
Format: StartServiceResponse
startService(StartServiceRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection pool
The name of the folder where the connection pool is located. By default, this is the root folder.
Returns true or false, to indicate the success or failure of the action.
Stops the connection pool specified in the request and returns a
StopServiceResponse
object with a boolean indicating
success or failure.
Format: StopServiceResponse
stopService(StopServiceRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection pool
The name of the folder where the connection pool is located. By default, this is the root folder.
Returns true or false, to indicate the success or failure of the action.
Stops all the connection pools of the application and returns
a StopAllServicesResponse
object with a boolean
indicating success or failure.
Format: StopAllServicesResponse
stopAllServices(StopAllServicesRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
Returns true or false, to indicate the success or failure of the action.
Suspends the available connection pool of the application and returns
a SuspendServiceResponse
object with a boolean
indicating success or failure.
Format: SuspendServiceResponse
suspendService(SuspendServiceRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection pool
The name of the folder where the connection pool is located. By default, this is the root folder.
Returns true or false, to indicate the success or failure of the action.
Suspends the available connection pool of the application and returns
a standbyServiceResponse
object with a boolean
indicating success or failure.
Format: StandbyServiceResponse
standbyService(standbyServiceRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection pool
The name of the folder where the connection pool is located. By default, this is the root folder.
Returns true or false, to indicate the success or failure of the action.
Resumes the possibility to use a suspended connection pool of the
application and returns a ResumeServiceResponse
object
with a boolean indicating success or failure.
Format: ResumeServiceResponse
resumeService(ResumeServiceRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection pool
The name of the folder where the connection pool is located. By default, this is the root folder.
Returns true or false, to indicate the success or failure of the action.
This Web service updates the connection information set cell values.
URL: http://localhost:2380/wsstack/services/ConnectionInfoManager?wsdl
Note:
This address is relevant when working with the WS-Stack in local
mode. When working in remote mode, you need to update the server address to
reflect the WS-Stack server address.
Returns a GetConnectionInfoSetResponse
object
which contains a ConnInfoSet
object.
Format: GetConnectionInfoSetResponse
getConnectionInfoSet (GetConnectionInfoSetRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection information set
Objects which contain the connection information set parameters
Array of the connection information columns, not including the ID and Repeat columns.
Array of the connection information set rows.
Indicates whether the column is defined as a password column.
Indicates the column type: Variables (0), Application fields (1) and Application and connection parameters (2).
Column name.
Array of the cells in a specific row in the connection information set not including the ID and Repeat cells.
The value of the repeat cell.
The value of the ID cell.
The cells’s value.
The cell’s column name.
Indicates the cell’s column type: Variables (0), Application fields (1) and Application and connection parameters (2).
Note:
The user name required in this method refers to a user who has
ApplinX server Administrator permissions.
Returns a UpdateConnectionInfoRowResponse
object
which contains a boolean indicating whether the update operation succeeded.
Format: UpdateConnectionInfoRowResponse
updateConnectionInfoRow(UpdateConnectionInfoRowRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection information set
The row object that contains the information that we wish to update in the connection information set. The following parameters must be set:
The ID of the row as it appears in the server.
The repeat number: when either updating the repeat number or preserving the number currently set on the server (when this number is not zero).
The value of each cell in the ConnInfoCell[]. Caution: Null values will replace existing values on the server.
Returns true or false, to indicate the success or failure of the action.
Format: AddConnectionInfoRowResponse
addConnectionInfoRow(AddConnectionInfoRowRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection information set
The row object that contains the information that we wish to add to the connection information set. See the following guidelines for setting the object parameters:
The ID of the row as it appears in the server.
The repeat number: when either updating the repeat number or preserving the number currently set on the server (when this number is not zero).
The value of each cell in the ConnInfoCell[]. Caution: Null values will replace existing values on the server.
Returns true or false, to indicate the success or failure of the action.
Format: RemoveConnectionInfoRowResponse
removeConnectionInfoRow(RemoveConnectionInfoRowRequest request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The name of the connection information set
The row ID
Returns true or false, to indicate the success or failure of the action.
This Web service retrieves runtime data regarding existing RPC connection pools and enables resetting the pool.
URL:http://localhost:2380/wsstack/services/ProgramPoolManager?wsdl
Note:
This address is relevant when working with the WS-Stack in local
mode. When working in remote mode, you need to update the server address to
reflect the WS-Stack server address.
Returns a PoolInformationResponse
object which
contains runtime information regarding the pool manager.
resetPool(ProgramPoolRequest request)
resets the
pool.
Format: PoolInformationResponse
getPoolInformation(ProgramPoolRequest
request)
The name of the user who has the relevant permissions to access ApplinX server.
The user's password
The name of the application on ApplinX server
The number of available connections in the pool.
The maximum number of connections that can exist in the pool concurrently.
The number of resources that were invalidated but are still in use
The minimum number of connections that must exist in a pool.
The number of connections that currently exist in the pool.
The number of used resources (including the excluded resources).
This method restarts the pool.
Format: resetPool( )