ISSUE
Receiving a 407 error when calling a web serviceERROR CODE
RESOLUTION
This error occurs if the proxy server requires authentication from a domain user account. This error typically occurs if the MapPoint .NET client is an ASP.NET application. ASP.NET applications typically run on the security context of a local user account that does not have permissions on the network and proxy server.In order to resolve this, take a backup of the existing Web.Config and then edit the existing web.config file for the web application that the workflow resides in, and search for the defaultProxy element. It will look like below
1 2 3 | <system.net> <defaultProxy /> </system.net> |
Change it to:
1 2 3 4 5 6 7 8 9 10 11 12 | <system.net> <defaultProxy useDefaultCredentials="true"> <proxy usesystemdefault="False" proxyaddress="http://proxy.contoso.com:8080" bypassonlocal="True" /> <bypasslist> <add address=> </bypasslist> </defaultProxy> </system.net> |
Once you have made these changes, then save the web.config file and perform an IISreset.
ADDITIONAL INFORMATION
RELATED LINKS
https://support.microsoft.com/en-us/help/330221/prb-common-proxy-server-and-firewall-issues-with-mappoint-web-serviceshttp://www.karthikscorner.com/sharepoint/configure-proxy-server-sharepoint/
https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/network/defaultproxy-element-network-settings