Proxy authentication required

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Proxy authentication required

    (Type your message here)

    --------------------------------
    From: samy coco

    I have a windows application which invokes Web services:

    WebReference1.myservice service = new WebReference1.myservice();
    service.Url = "http://myurl.asmx";
    service.MyMethod(string arg);

    A client station using a Proxy server (ISA server) fails when calling the webservice .
    The error message is :

    (407) Proxy authentication required.

    How to get the parameters(Password/UserName/Domain) that the user supplied to establishe a connection with the Proxy via his Internet Browser ?

    Thanks Samy.

    -----------------------
    Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])

    <Id>DPDHzBxrG0K7TXYGrIgIZQ==</Id>
    samy coco via .NET 247 Guest

  2. Similar Questions and Discussions

    1. WebService Proxy Error: Positive number required
      We are attempting to utilize a J2EE\IBM WSA webservice and on the oneway method call I get the following exception ...
    2. web service proxy authentication
      Hi all I have an application that seems to be having an ongoing battle with my firewall. I am using a webservice to send back data to a SQL server...
    3. Proxy authenticated required
      Hi I am trying to call a web service from behind a MS ISA Server on a sbs2003 machine. The calling program is coming up with this error; The...
    4. request failed with HTTP status 407: Proxy Authentication Required
      Hi all. I have been strugling with trying to get access to a web reference in my web project that is outside my firewall (ISA 2000 server running...
    5. web service wants proxy authentication
      I have a web service running on my PC that I want to access from a Pocket PC (Compact Framework) connected to my machine using ActiveSync. I can...
  3. #2

    Default Re: Proxy authentication required

    Check this KB:
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;330221[/url]

    Add this to the .config file:
    <defaultProxy>
    <proxy
    usesystemdefault = "false"
    proxyaddress="http://proxyserver:port"
    bypassonlocal="true"
    />
    </defaultProxy>


    OR do this in code:
    Dim myProxy As New WebProxy("http://proxyserver:port", True)
    myProxy.Credentials = New NetworkCredential("username", "password",
    "domain")
    Dim myFindService As New FindServiceSoap()
    myFindService.Proxy = myProxy

    --
    Greetz,
    Jan
    ________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]

    "samy coco via .NET 247" <anonymous@dotnet247.com> schreef in bericht
    news:OTRU6%23OKEHA.3728@TK2MSFTNGP12.phx.gbl...
    > (Type your message here)
    >
    > --------------------------------
    > From: samy coco
    >
    > I have a windows application which invokes Web services:
    >
    > WebReference1.myservice service = new WebReference1.myservice();
    > service.Url = "http://myurl.asmx";
    > service.MyMethod(string arg);
    >
    > A client station using a Proxy server (ISA server) fails when calling the
    webservice .
    > The error message is :
    >
    > (407) Proxy authentication required.
    >
    > How to get the parameters(Password/UserName/Domain) that the user supplied
    to establishe a connection with the Proxy via his Internet Browser ?
    >
    > Thanks Samy.
    >
    > -----------------------
    > Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
    >
    > <Id>DPDHzBxrG0K7TXYGrIgIZQ==</Id>

    Jan Tielens Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139