I am using a tcl script to set the httpRequestInfo for a web services connection. With this, I need to provide a url-encoded string for the http query. I found that the http package can do this (::http::format). When doing this:
package require http
set query [::http::format “UserId=usernamd&Pwd=pwd&data=Value1|Value2|value3″]
from the command line (Linux) hcitcl I can do the package require and all works well. If I use this same thing in the tcl script and run it through the testing tool if fails. Any ideas?
The error I get from the testing tool is:
invalid command name “::http::format”
Jerry