Solved

remote server returned error 407 proxy authentication required

Posted on 2011-09-07
3
539 Views
Last Modified: 2012-05-12
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
Comment
Question by:ZURINET
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
eguilherme earned 400 total points
ID: 36502062
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
 

Author Comment

by:ZURINET
ID: 36502819
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
 
LVL 1

Expert Comment

by:rerard
ID: 36504840
On the dev machine in the app.config or projectname.exe.config
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question