Compatibility between New-WebServiceProxy and the proxy server

Did I miss something?

Does new-webserviceproxy support proxy credentials?

Corporate environments invariably use proxies to communicate with the rest of the Internet, and I cannot get new-webserviceproxy to talk through ours. I get 407 proxy authentication of the requested error in response - the credential argument for the credentials for the web service is not for the proxy server.

+3
source share
1 answer

Unfortunately, this cmdlet does not support proxy credentials. You can try using the code posted here by Lee. http://www.leeholmes.com/blog/2007/02/28/calling-a-webservice-from-powershell/

NET.WebClient , , - connect-WebService.

+2

Source: https://habr.com/ru/post/1772765/


All Articles