Unable to set network proxy credentials for SoapClient.

Odpovědět Unable to set network proxy credentials for SoapClient.

  • 19. ledna 2012 11:52
     
     

    Hi,

    When i try to access external webservice i am not able to set proxy setting through my code. I can able to access the same site from emulator browser.

     

    StockQuoteSoapClient stockQuoteSoapClient = new StockQuoteSoapClient();
    stockQuoteSoapClient.ClientCredentials.UserName.UserName =
    @"domain\username";
    stockQuoteSoapClient.ClientCredentials.UserName.Password =
    "passowrd";

    above throws proxy authentication required error.

    Thanks,
    Sridhar.


    Sridhar

Všechny reakce