Solved

remote server returned error 407 proxy authentication required

Posted on 2011-09-07
3
527 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
3 Comments
 
LVL 10

Accepted Solution

by:
eguilherme earned 400 total points
Comment Utility
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
Comment Utility
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
Comment Utility
On the dev machine in the app.config or projectname.exe.config
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now