You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by "S. Dee" <sd...@live.com> on 2012/03/25 17:35:18 UTC

Connecting to a webservice with only username, password, and .cer file

First a little background:
I have already managed to successfully connect to a Microsoft web service using C#. To use this web service, I have to supply a username and a password in the C# code. I also have to install a certificate (in .cer format) into the "Root Certificate Authorities" section of the system's certificates.
(By the way, the C# class I use to connect to the service was automatically generated for me with the command line tool "svcutil.exe https://address.of.service")
Here is my question:
How can I connect to such a web service using Axis2/C? The example in the documentation is of a completely different nature -- it asks for a certificate, key file, and a passphrase. In my case, it is username, password, and a .cer file.
So I'm not sure where to even begin. I'm not sure where my .cer file should go, and where my username and password should go. Any ideas?
Thanks,S. Dee 		 	   		  
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org