Getting the Callback URL
The business service gets a callback URL from the CorrelationDataManager. This URL is passed to the third-party system so that the third-party system can post data to the business services server. You use this method for the business function to get the callback URL:
String getCallbackURL (boolean secureMod)
The getCallbackURL method requires a Boolean parameter that indicates whether the callback URL to be created is using secure mode. A secure mode URL is prefixed by https. A nonsecure mode URL is prefixed by http. This table shows the constants that you use to indicate whether the URL is to be secure:
Constant |
Description |
---|---|
USE_NON_SECURE_MODE |
Use for secureMode parameter if SSL is not required. |
USE_SECURE_MODE |
Use for secureMode parameter if SSL is required. |