06-15-2016 11:26 AM
I write this peace of code that implement an HTTP GET to a thrdy part Web Service.
It works and result are correct even if comparing performance with the same URL called thru POSTMAN there are big difference.
My code 3500 msec and POSTMAN 350 msec. Searching on GOOGLE I found that is a typical issue when using .NET HTTP method without specifying PROXY.
I also try to find a way to implement Webrequest.proxy = NULL but unsuccessfully.
On my PC there is a pac file that route to the correct proxy but I'm not able to figure out how to call trhu .NET using Labview.
Thanks in advance for any help or advice.
Golzio
06-20-2016 03:51 AM
Hi Golzio,
Here there are two link to forum discussions that you may can find interesting:
Http through proxy connection
forums.ni.com/t5/LabVIEW/http-through-proxy-connection/td-p/995656
Can LabVIEW access an HTTPS site behind a proxy?
forums.ni.com/t5/LabVIEW/Can-LabVIEW-access-an-HTTPS-site-behind-a-proxy/m-p/2715395
And this one for Proxy conflict when using Web services:
"Couldn’t Resolve Proxy Name" Conflict When Using Web Services
http://digital.ni.com/public.nsf/allkb/2A8DA3FF388286D586257C83004C65FC?OpenDocument
I hope this could be helpful for you.
Enrico