The gSOAP toolkit simplifies the development and deployment of SOAP/XML Web Services and client applications in C and C++. The gSOAP RPC compiler does all the difficult work for you. It generates the necessary C and C++ source codes to seamlessly glue your C/C++ applications to the SOAP/XML Web Services stack. With the compiler you can enable your (existing) C and/or C++ applications to “talk SOAP”!.
gSOAP is not just a class library. The gSOAP RPC compiler produces routines to encode native and user-defined C/C++ types in XML. To make things even easier, gSOAP provides memory management with garbage collection so (XML-decoded) data can be cleaned up without a hassle.
Calling WCF Services from a Linux C++ Client Using gSOAP
Step 1: Build a server Web service by WCF
First, you need to make a server webservice by c#. Please follow this tutorial http://www.youtube.com/watch?v=GzN1vHWlJjA