xxProvider

The xxProvider object interacts with a selected provider adapter.

Constructor

var provider = new xxProvider(strTC);


Properties

PropertyDescription
RequestTCString, optional Transaction Control Data (XML), by default the constructor is used
ResponseTCString, read-only, returned Transaction Control Data (XML)
ResponseString, read-only, response data returned by provider
LastErrorString, read-only, last error message for failed SendTransaction method

 

Methods

MethodDescription
SendTransactionSends XML request message to provider and receives XML response message (synchronous).
GetSessionObtains and reserves a new session for a specified adapter
ReleaseSessionReleases a session previously obtained with GetSession

 

Comments

The provider object is an instance to a provider session that the server has already selected, successfully connected and reserved for your script. You can obtain additional sessions for any adapter and session configuration by using the GetSession session method. The preferred method however is to use the current session connected by the server according to the message configuration in the transaction map.