Support to use SOAP 1.1 or 1.2.

This commit is contained in:
Chunting Gu
2018-09-19 21:39:32 +08:00
parent ef252c9f74
commit f5fe4e67f7
13 changed files with 104 additions and 27 deletions
+2 -1
View File
@@ -7,8 +7,9 @@
class CalcClient {
public:
// NOTE: Parasoft's calculator service uses SOAP V1.1.
CalcClient(const std::string& host, const std::string& port)
: soap_client_(host, port) {
: soap_client_(host, port, webcc::kSoapV11) {
soap_client_.SetTimeout(5);
soap_client_.set_url("/glue/calculator");