WebService not working when automatic configuration script is acti

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

  1. #1

    Default WebService not working when automatic configuration script is acti

    Hi,

    One of my clients has got the 'Automatic Configuration Script' in LAN
    Settings set to their proxy settings. Due to this my webservices could not be
    invoked from their end and gives an 'HTTP : 404 Not Found' error.

    The credentials are passed to the web services in the following way :-

    credentialCache.Add(new
    Uri("http://ecosystem1.maximizelearning.com/"),"Basic",new
    NetworkCredential(frmProxyInputs.txtProxyUserName. Text.Trim(),
    frmProxyInputs.txtProxyPassword.Text.Trim()));

    webproxy.Credentials=credentialCache.GetCredential ( new
    Uri("http://ecosystem1.maximizelearning.com/"), "Basic" );
    objServerDate.Proxy = webproxy;

    This works on all other proxy setups.

    Could anyone please help me in resolving this issue.

    Regards,
    Praveen Balagopalan.




    Praveen Guest

  2. Similar Questions and Discussions

    1. 6.1 script not working on 7.0 server. Script used towork!
      I've a problem with some coldfusion 6.1 scripts running on a server with coldfusion 7. It seems that it isn't accepting the hidden type for the tag...
    2. CPAN configuration help get working
      Hello, I have been working with 3 Linux machines, all Red Hat and not all the same. 6.2, 7.3 and Professional Workstation. At first the...
    3. Automatic Flowing not working
      InDesign 3.0 MSFT Word 2000 Windows XP I am trying to Automatically flow a Word document into frames in InDesign, with InDesign creating new...
    4. Automatic Document Feeder (ADF) not working with Acrobat 6
      I share your pain. I have an HP scanner and a Cannon scanner and NEITHER will work with Acrobat 6. I had to uninstall Acrobat 6 and go back to...
    5. Automatic page forwarding in cgi perl script
      print ("Location: http://localhost/ElectronicMedicalRecord/OrderEntry/Orders.html\n\n"); Why won't this work?
  3. #2

    Default RE: WebService not working when automatic configuration script is acti

    Hi,

    I think you will find that you need to create a WebProxy class and set the
    credentials on that class and then set the Proxy property to that instance
    instead of setting it to a Credential class.

    I hope this helps

    Dan Rogers
    Microsoft Corporation

    --------------------
    >Thread-Topic: WebService not working when automatic configuration script
    is acti
    >thread-index: AcTSAMfVtk0VL6l0TxmkyYICdpo4zw==
    >X-WBNR-Posting-Host: 203.129.229.166
    >From: "=?Utf-8?B?UHJhdmVlbg==?=" <Praveen@discussions.microsoft.com>
    >Subject: WebService not working when automatic configuration script is acti
    >Date: Wed, 24 Nov 2004 00:37:06 -0800
    >Lines: 27
    >Message-ID: <B84EA065-7F9C-48A1-8AEC-E2B8D9891447@microsoft.com>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > charset="Utf-8"
    >Content-Transfer-Encoding: 7bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >Content-Class: urn:content-classes:message
    >Importance: normal
    >Priority: normal
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    >Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGXA03.phx.gbl
    >Xref: cpmsftngxa10.phx.gbl
    microsoft.public.dotnet.framework.aspnet.webservic es:26798
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >Hi,
    >
    >One of my clients has got the 'Automatic Configuration Script' in LAN
    >Settings set to their proxy settings. Due to this my webservices could not
    be
    >invoked from their end and gives an 'HTTP : 404 Not Found' error.
    >
    >The credentials are passed to the web services in the following way :-
    >
    >credentialCache.Add(new
    >Uri("http://ecosystem1.maximizelearning.com/"),"Basic",new
    >NetworkCredential(frmProxyInputs.txtProxyUserName .Text.Trim(),
    >
    frmProxyInputs.txtProxyPassword.Text.Trim()));
    >
    >webproxy.Credentials=credentialCache.GetCredentia l( new
    >Uri("http://ecosystem1.maximizelearning.com/"), "Basic" );
    > objServerDate.Proxy = webproxy;
    >
    >This works on all other proxy setups.
    >
    >Could anyone please help me in resolving this issue.
    >
    >Regards,
    >Praveen Balagopalan.
    >
    >
    >
    >
    >
    Dan Rogers 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