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.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 12:44 PM
To: [EMAIL PROTECTED]
Subject: Writing a C++ Axis Client

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

Reply via email to