Last post Feb 13, 2017 06:16 AM by Chris Zhao
Member
177 Points
629 Posts
Feb 10, 2017 07:35 AM|neoaguil17|LINK
Hi
I try to connect with a wcf method in another network..
I use a server proxy setting of windows...
But wcftestclient shows the error:
Proxy authentication required for wcftestclient
I have permissions, because I can connect with wcfstorm configuring the proxy in wfcstorm
All-Star
53711 Points
24043 Posts
Feb 10, 2017 12:36 PM|mgebhard|LINK
Clearly, the proxy (10.10.10.10) requires proper credentials. You'll need to contact your system admin for assistance. This error has nothing to so with WCF.
Feb 11, 2017 04:59 AM|neoaguil17|LINK
I can not connect with the service using wcftestclient, but I can connect using wcfstorm.... You can see in the image that I wrote the server proxy..
In other words the problem is with wcftestclient...
Feb 11, 2017 12:22 PM|mgebhard|LINK
neoaguil17 Hi I can not connect with the service using wcftestclient, but I can connect using wcfstorm.... You can see in the image that I wrote the server proxy.. In other words the problem is with wcftestclient...
Have you tried setting ...
<system.net> <defaultProxy useDefaultCredentials="true" /> </system.net>
in the web config?
http://stackoverflow.com/questions/8723545/wcf-client-407-proxy-authentication-required-while-running-webservice
Feb 11, 2017 05:27 PM|neoaguil17|LINK
I utilized that setting...
But I recieved the same error.
17652 Points
3510 Posts
Feb 13, 2017 06:16 AM|Chris Zhao|LINK
Hi Neoaguil17,
You could do it from configuration
<system.net> <defaultProxy useDefaultCredentials="true"> <proxy proxyaddress="proxyAddress" usesystemdefault="True"/> </defaultProxy> </system.net>
or code
var proxyServerAddress = "address"; var proxyServerPort = "port"; // Get proxy with default credentials WebProxy proxy =new WebProxy(proxyServerAddress, proxyServerPort); proxy.Credentials = System.Net.CredentialCache.DefaultCredentials();
reference:
http://blogs.msmvps.com/paulomorgado/2009/01/12/setting-a-web-proxy-through-configuration-in-net-applications/
https://blogs.infosupport.com/configuring-a-proxy-server-for-wcf/
Best Regards,
Chris
Member
177 Points
629 Posts
Proxy authentication required for wcftestclient
Feb 10, 2017 07:35 AM|neoaguil17|LINK
Hi
I try to connect with a wcf method in another network..
I use a server proxy setting of windows...
But wcftestclient shows the error:
Proxy authentication required for wcftestclient
I have permissions, because I can connect with wcfstorm configuring the proxy in wfcstorm
All-Star
53711 Points
24043 Posts
Re: Proxy authentication required for wcftestclient
Feb 10, 2017 12:36 PM|mgebhard|LINK
Clearly, the proxy (10.10.10.10) requires proper credentials. You'll need to contact your system admin for assistance. This error has nothing to so with WCF.
Member
177 Points
629 Posts
Re: Proxy authentication required for wcftestclient
Feb 11, 2017 04:59 AM|neoaguil17|LINK
Hi
I can not connect with the service using wcftestclient, but I can connect using wcfstorm.... You can see in the image that I wrote the server proxy..
In other words the problem is with wcftestclient...
All-Star
53711 Points
24043 Posts
Re: Proxy authentication required for wcftestclient
Feb 11, 2017 12:22 PM|mgebhard|LINK
Have you tried setting ...
in the web config?
http://stackoverflow.com/questions/8723545/wcf-client-407-proxy-authentication-required-while-running-webservice
Member
177 Points
629 Posts
Re: Proxy authentication required for wcftestclient
Feb 11, 2017 05:27 PM|neoaguil17|LINK
Hi
I utilized that setting...
But I recieved the same error.
All-Star
17652 Points
3510 Posts
Re: Proxy authentication required for wcftestclient
Feb 13, 2017 06:16 AM|Chris Zhao|LINK
Hi Neoaguil17,
You could do it from configuration
or code
reference:
http://blogs.msmvps.com/paulomorgado/2009/01/12/setting-a-web-proxy-through-configuration-in-net-applications/
https://blogs.infosupport.com/configuring-a-proxy-server-for-wcf/
Best Regards,
Chris