|
The base class for your client should be
SoapHttpClientProtocol. You can set the credentials as such
(pseudo-code):
myClient.Credentials = new
NetworkCredential(user, pass, domain)
This class will negotiate with many auth
schemes including basic authentication. I've used this in C# with
Mappoint.NET and it works.
hope this helps.
Hello fellow programmers,
I am currently trying to write an Axis client in C++. I am using Visual
C++ .net to accomplish this task. I was able to succesfully write a client,
however now I need to implement authentication.
I am having a terribly hard time finding information on a simple and
effective way to implement Basic Http Authentication through the Visual C++
project.
I was wondering if somebody could give me some pointers such as possible
classes I should use, maybe a few lines of code or a sample function call from
your clients.
I have attempted to look this up in MSDN, however I keep getting led
around in circles and taken to horribly ambiguous examples.
Sincere thanks,
James Crosson
|