I am trying to do a soap request from a WebCTRL server. I went to add a service reference, entered the URL to my wsdl and (after prompting me for a username and password) it added the reference and I can create an instance of the service object and makes calls against it.
Dim eval As New WebCTRL_Eval.EvalClient
I get this back from the server, on openÃÂ and getvalue.
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="SOAP Access"'.
I understand that it is the HTTP authentication that I need to setup or configure, but just dont understand how to do it.
I have tried
eval.ClientCredentials.UserName.UserName = "myusername"
eval.ClientCredentials.UserName.Password = "mypassword"
How do I change the client authentication scheme and provide my credentials to it?
Here is what is on my app.config file.
ÃÂ ÃÂ <binding name="EvalSoapBinding"
ÃÂ ÃÂ ÃÂ bypassProxyOnLocal="false"
ÃÂ ÃÂ ÃÂ transactionFlow="false"
ÃÂ ÃÂ ÃÂ hostNameComparisonMode="StrongWildcard"
ÃÂ ÃÂ ÃÂ maxBufferPoolSize="524288"
ÃÂ ÃÂ ÃÂ maxReceivedMessageSize="65536"
ÃÂ ÃÂ ÃÂ messageEncoding="Text"
View Complete Post