Hi all.
How can I use a variable url (... for example reading it from DB or global variable ...) ?
|
Have a look at that doc page: It shows a sample using an URI as function parameter:
CREATE FUNCTION cli_test2( image LONG VARCHAR, myurl LONG VARCHAR ) RETURNS LONG BINARY URL '!myurl' TYPE 'HTTP:GET' SET 'HTTP(CH=OFF)' HEADER 'ASA-ID'; So, apparently you can supply a variable value when calling your web client function in a similar fashion - possibly by putting a wrapper function around that to "automatically" supply the variable URI portion... Here's further information on substitution parameters like the "!myurl" used in the above sample (a help topic not easily found, methinks...): Thank you. It works.
(03 May '13, 11:40)
NCister
|