Unmanaged C++ and SOAP

Posted on 2006-03-30
Last Modified: 2010-05-18
I need to make a SOAP call to a web service using unmanaged C++.

Microsoft documentation on the SOAP toolkits says that the toolkits are being deprecated in favour of .Net. and especially recommends that the SOAP toolkit not be used on Windows 2003 machines (my target environment).

Question: What is the correct way to make SOAP calls from unmanaged C++ code?
Question by:Julian Hansen
    LVL 23

    Accepted Solution


    Or, forego SOAP and pass the appropriate XML to the web service.
    LVL 50

    Author Comment

    by:Julian Hansen
    Thanks cookre,

    Looks promising.

    Problem is getting SPROXY to work - it chokes on the definitions tag with a SDL1005 error.

    Any ideas on this?

    LVL 23

    Expert Comment

    I fear you may have to take the brute force and ignorance approach by looking at the WSDL and generating the XML yourself.
    LVL 50

    Author Comment

    by:Julian Hansen
    Thanks Cookre,

    I can work around the SPROXY issue but decided against the SOAP route - going to load an XML file directly with info I need instead of having a webservice feed it back to me.

    Thanks for the link - will be useful in other projects.

    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!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    format the code in java 6 60
    bigDiff challenge 17 60
    Batch file output 20 71
    python sqlite question 11 24
    This is an explanation of a simple data model to help parse a JSON feed
    A short article about problems I had with the new location API and permissions in Marshmallow
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    734 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

    22 Experts available now in Live!

    Get 1:1 Help Now