SOAP, or Simple Object Access Protocol, is the backbone of web services and a variety of new technologies. In this article Nauman shows us how to create a simple SOAP client with Visual C++. He describes several methods found in the SOAP toolkit, and finishes off by creating a SOAP client that checks whether or not a Yahoo user is currently online.
Building A SOAP Client With Visual C++ (Page 1 of 5 )
In this article, I'll show you how to build a SOAP client using Visual C++. This tutorial gives you a hands on introduction to using the SOAP API. SOAP (or Simple Object Access Protocol) is emerging as a very popular protocol for exchanging information across the Internet. It's relatively simple and because itís designed to work with HTTP, SMTP and other such protocols, it can be easily sent to another computer on the Internet without worrying about firewalls, etc.
From here on in Iím going to assume that you have at least a basic knowledge of SOAP and also advanced knowledge of C++. If youíre not too familiar with SOAP, then please read this article first. It gives an excellent introduction to what SOAP is and what you can do with it.
You should also be familiar with using COM, especially using Smart Pointers in COM as in the code for this article Iíve used the import directive to convert COM interfaces to Smart Pointers. You must also have the Microsoft SOAP Toolkit installed on your system, which you can download here.