Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

remote server returned error 407 proxy authentication required

Hi all

I have this error while trying to call a webService on a remote server
<<remote server returned error 407 proxy authentication required>>
I am calling the web services via microsoft console application...

How can I overwrite or what should I include on the scritp to help get ride of this error

Thanks in Advance
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="SellerDownloadServicesSoap", Namespace="http://www.website.com")]
public partial class SellerDownloadServices : System.Web.Services.Protocols.SoapHttpClientProtocol {
    
    private System.Threading.SendOrPostCallback GetPayeeListWithIDsOperationCompleted;
    
    
    
    /// <remarks/>
    public SellerDownloadServices() {
        this.Url = "https://%%/%/SellerDownloadServices.asmx";
    }

Open in new window

0
ZURINET
Asked:
ZURINET
1 Solution
 
eguilhermeCommented:
the client that is making the call to the webservice is behind a proxy.. you need to configure your application with the proxy settings eg:

http://msmvps.com/blogs/paulomorgado/archive/2009/01/12/setting-a-web-proxy-through-configuration-in-net-applications.aspx

http://msdn.microsoft.com/en-us/library/system.net.webrequest.defaultwebproxy.aspx
0
 
ZURINETAuthor Commented:
Hi Eguiherme

Please where is this file located.. in Proxy server or in the development machine?

The link says <<This configuration is done in the machine or application file in the proxy element of the defaultProxy configuration section in  the system.net section group>>


Thanks in Advance
 

<configuration>
  <system.net>
    <defaultProxy enabled="true">
      <proxy usesystemdefault="True"/>
    </defaultProxy>
  </system.net>
</configuration>

Open in new window

0
 
rerardCommented:
On the dev machine in the app.config or projectname.exe.config
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now