Have only used Perl and CGI before. After looked it in google, did found some possibility useful links. Not sure if they can help you?
C++ webservices:
gSOAP:
gSOAP: SOAP C++ Web Services
XML based ASP.net webservice
Walkthrough: Creating an XML Web Service Using C++ and the CLR
XML-RPC...