xxProvider
The xxProvider object interacts with a selected provider adapter.
Constructor
var provider = new xxProvider(strTC);
- strTC : String, Transaction Control Data (XML) to be used on transactions.
Properties
Property | Description |
---|---|
RequestTC | String, optional Transaction Control Data (XML), by default the constructor is used |
ResponseTC | String, read-only, returned Transaction Control Data (XML) |
Response | String, read-only, response data returned by provider |
LastError | String, read-only, last error message for failed SendTransaction method |
Methods
Method | Description |
---|---|
SendTransaction | Sends XML request message to provider and receives XML response message (synchronous). |
GetSession | Obtains and reserves a new session for a specified adapter |
ReleaseSession | Releases 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.