I'm using code I generated using the WSDL Importer.
I found this example in the Delphi world using CAPICOM.
http://groups.google.com/group/borland.public.delphi.webservices.soap/browse_thread/thread/11aa16819d89f2e1/86d553718d2fc5c2?q=martijn+brinkers+soap+certificates
First, is this still the best way to do it? Is there another way? I would
have thought that some Indy interaction would be possible since that would
supposedly already do this, but I don't see any way to make it work with
THTTPRIO.
I'm having problems making this work in the C++ world. I created the _tlb
and _ocx files from importing the CAPICOM DLL, but I can't make all the code
compile. For instance, after opening the store, finding the certificates is
problematic. Tlibimp did generate a TCertificates class that has the Find
method on it, but TStore->Certificates returns an ICertificatesPtr, not a
TCertificates. I don't know how to take that and access the methods such as
Find that are part of TCertificates.
Is there a C++ example like the one above for Delphi somewhere? Or can
somebody help me get going a little further?
I'm running RAD Studio 2007 using C++.