WCF Service Error: The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests

Last Reply 13 days ago By dharmendr

Posted 14 days ago

Hi,

Can someone give me sample code to consume/call a wcf service with Basic Authentication (Need to Pass UserName and Password) from windows Forms application.

Actually when I try to add service reference (Service Reference-->Advanced-->Add Web Reference) which I think is the first step as soon as we create Windows Forms Application,

its not discovering the service at all and getting netowork error,

The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time

Also the general rules mentioned in the service document are below.

This ABC Service can be accessed over HTTPS Certificate using TLS V1.2.

This ABC service can be accessed through basic authentication over HTTPS.

Irrespective of the above rules, I think we need to add Service Reference in order to consume which is where I stuck.

Correct me if I am wrong.