Sending a Secure Asynchronous Request
To send asynchronous requests using SSL, use this function.
Description
This function is the same as the sendAsynchronousRequest() function.
For secure communication, use
sendAsynchronousRequest() function along with the
setSecureInfo() catalog function with the addition of the SSL-related parameters shown below:
Object connectionInfo= HTTP.ConnectionInfo.createHTTPConnectionInfo(true); HTTP.setSecureInfo(Object connectionInfo, String sslProtocol, Object clientIdKeyStore, String clientIdPassword, Object trustedCertsKeystore, String trustedCertsPassword, boolean verifyHostName)
For handling timeout case, you can set the java property com.tibco.be.http.client.socketTimeout with the required timeout period.
Parameters
All of the parameters for sendAsynchronousRequest() plus the following:
Name | Type | Description |
---|---|---|
clientIdKeystore |
Object |
The keystore object for client identity. |
clientIdPassword |
String |
Password for the client ID keystore. |
trustedCertsKeystore |
Object |
Keystore Object for trusted certificates. |
trustedCertsPassword |
String |
Password for the trusted certificates keystore. |
verifyHostName |
Boolean |
Flag for checking if a host name matches the names stored in the server’s certificates. |
httpConnectionInfo |
Object |
HTTP Connection Info object. |
Copyright © TIBCO Software Inc. All Rights Reserved.