Currently, I am working to interop with an MS colleague using .NET client
with my AXIS service. I have a handler chain that uses LDAP to
authenticate/authorize access to my deployed service. Works fine with my
AXIS client. Trouble is, we cant seem to be able to get .NET to send the
required Authorization: Basic pair in the HTTP header. When looking at
tcpmon it doesn’t appear.

Heres the c# client code we think should set the basic auth, but it doesn’t.

                        ICredentials credentials = new
NetworkCredential("username","password","mydomain");
                        serviceInstance.Credentials = credentials;
                        
                        serviceResponse response =
serviceInstance.serviceMethod(serviceRequest);

I know this is off topic, so any effort in answering this will be even more
appreciated here than usual.

TIA

Adam Leggett
UPCO
Direct Line: 0113 20 10 631
Fax: 0113 20 10 666
<http://www.upco.co.uk>
The contents of this email are intended for the named addressees and may
contain confidential and / or privileged material. If received in error,
please contact UPCO on +44 (0)113 20 10 600 and then delete the entire email
from your system. Unauthorised review, distribution, disclosure or other use
of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated.


Reply via email to