I am trying to make a C++ application send and receive information over the web using SOAP. The application has to store a users progress data
I have the soap code here to do a simple actions, i.e. check the date of the application the user is using.
POST /MyProcutWebService/MyProcut.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.MyProductWebsite.com/MyProcutWebService/MyProcut/CheckDateOfApplication"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CheckDateOfApplication xmlns="http://www.MyProductWebsite.com/MyProcutWebService/MyProcut">
<dttmApplication>dateTime</dttmApplication>
<nResult>int</nResult>
</CheckDateOfApplication>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CheckDateOfApplicationResponse xmlns="http://www.MyProductWebsite/MyProcutWebService/MyProcut">
<CheckDateOfApplicationResult>boolean</CheckDateOfApplicationResult>
<nResult>int</nResult>
</CheckDateOfApplicationResponse>
</soap:Body>
</soap:Envelope>
I am trying to convert this to C++ but there is not documentation on how to use a Serializer:
ISoapSerializerPtr Serializer
i.e. how do you convert the soap syntax into the serializer.
I looked at the links
The only thing I can find on MSDN is
http://msdn.microsoft.com/library/de...rstandsoap.asp
and on the web
http://www.devarticles.com/c/a/Cplus...sual-C-plus/1/
but couldnt find enough info.
It is not clear to me how to convert the SOAP calls into the Serializer calls with the limited information available.
Can someone point me to some more detailed documentation or examples using serializers to send soap information?
Thanks
Thor