Perform the following steps to transform the sdkscript connector into the sdkuposcript connector:
In the sdkdyn metadata
Two program exits are provided as samples. The SendMail exit gets the mail related connector level attributes and sends the message passed to it by the UPO exit. The mail subject is also passed to it by the invoking UPO exit. The code can be changed to include CC recipients if required.
The Logging exit writes the details of the request to a file, in a sub-directory of that specified by eTDYNConnectionURL.
One function is defined for each UPO exit. Where there are similarly named exits, a suffix is added indicating the operational mode where that exit is used, so there are functions such as ADD_ACCOUNT_NONMANAGED, ADD_ACCOUNT_MANAGED, ENABLE_ACCOUNT, and so forth.
The non-managed mode exit functions package the request details in XML, which are made as similar as possible to the data block generated by the UPO connector. This xml block is then passed to the SendMail or Logging program exits, if so configured.
The managed mode exit functions perform the provisioning operations as in the sdkscript connector.
Whereas with sdkscript, the provisioning operations are performed right in the body of the opbindings functions, the sdkuposcript functions first check the operational mode of the endpoint, then invoke the appropriate UPO exit.
Copyright © 2013 CA.
All rights reserved.
|
|