Hi guys, I've one question about proxy.
I use an Automation variable to make a connection to a web site to dowload an xmlfile (see code below... process runs via RTC).
Name DataType Subtype Length
XmlHttp Automation 'Microsoft XML, v6.0'.XMLHTTP60
IF GUIALLOWED THEN
Window.OPEN('do you want to start?');
IF ISCLEAR(XmlHttp) THEN
CREATE(XmlHttp);
XmlHttp.open('GET',"www.mysite.com",FALSE);
XmlHttp.send;
IF XmlHttp.status = 200 THEN BEGIN
...
My question is, is there a way to force nav to use a specific proxy?
I've searched the forum and I found this post:
viewtopic.php?f=32&t=46478&hilit=proxy+xmlhttp
Here they use .setProxy method that is not available for Xmlhttp variable but only for serverXMLHTTP.
Since I don't know the difference between XMLHTTP and serverXMLHTTP :oops: I simply tried to change the subtype of my automation variable from the first to the latter but with this modification RTC replies with "Application timed out".
has anyone an idea?
Thanks in advance.
Answers
Variables: Code: but I receive the following error:
It works as expected... More or Less...
This is the post that helped me: viewtopic.php?f=23&t=37522&hilit=winhttp
Variables used: Code:
It works as expected... More or Less...
I am aware of this thread is old, but I had an issue in this direction.
The solution with XMLHTTP should also work, if you use only one colon ':', maybe that was only a typo.
So instead of you have to set and it should work.
It seems also to me that the current user credentials are used, because I do not need to setup these information.
Kind regards,
jaja_bings