Originally posted by Robert Milfajt
Background: I need to call a web service from Cloverleaf to translate a physician ID in a message from the source system ID to the destination system ID. Neither source, nor destination have the capabillity to perform a mapping, but we have a third system with all of the MD mappings, and a web service to call to obtain the information.
Plan: I plan to use a proc in the sms_ob_data TPS. This proc will use TclCurl to query the web service based on value in message and replace it with the returned value. Things work well if the web service is available, and turn around times are excellent.
Question: I am not sure how to program a failed web service call. My plan was to either PROTO or OVER the message, not sure which, and stop the thread, not sure how.
Does my plan seem feasible? Should I OVER or PROTO the message? What is the best way to stop a thread from the sms_ob_data TPS?
Thanks,
Bob