Calling SSL web service from win32 dll or unmanged code

Posted on 2005-04-27
Last Modified: 2013-12-03
Any one know of a product that allows a win32 windows application to call web services via a win32 dll or NON .net application/interface?

We have a win32 application that can call dlls.  We've implemented the MS SOAP 3.0 toolkit, but I'm running into problems now when using the toolkit to call SSL secured web services.

Solutions include:
1.  Figure out how to call SSL web services with MS SOAP 3.0?  Which also happends to be obsolete very soon.  I've done some reading to find out how to do this, but it looks rather time consuming and solutions were not complete.  Our test web service server also uses test certificates instead of real CA authorized ones.
2.  Figure out how to build a .net dll and wrap it in a COM interface that our program can access.  
3.  Purchase a product that already does 2 above.

I would really appreaciate anyone with other ideas on a solution... THANKS.

Question by:andrewting
    LVL 86

    Expert Comment

    Have you seen ("SecureSOAP Sample: Implements a Secure SOAP Communication (HTTPS)")?

    Author Comment

    No, I'll review it now... THANKS!

    Author Comment

    I can't get the SecureValidationClient to compile in Visual Studio 2003.

    I get an CTCPAddrLookup undeclare identifier.

    Can anyone help?
    LVL 86

    Expert Comment

    Hm, I just built that with VC7, and it worked "out of the box". Have you tried to build the server project first?

    Author Comment

    I found the answer here and download the source code from MSDN.  This version complies correctly.

    From: Dan Levi (
    Subject: SecureSOAP example does not compile

    I'm trying to use the ATL templates to handle the client side of SOAP over
    SSL. I downloaded the SecureSOAP sample, but the client application
    compilation fails:

    c:\ ... \SecureSocket.inl(111) : error C2065: 'CTCPAddrLookup' : undeclared

    The sample is from VS2002 and I'm using VS2003, perhaps that's a clue? The
    CTCPAddrLookup class seems to be completely missing.

    Any help would be appreciated.

    Message 2 in thread
    From: Dan Levi (
    Subject: RE: SecureSOAP example does not compile

    This happened to the version downloaded from msdn on the web.

    The version in the distributed MSDN has quite a few differences; it compiles

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
    This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now