/* soapinterop2CProxy.h Generated by gSOAP 2.8.11 from interop_all.h Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved. The generated code is released under one of the following licenses: 1) GPL or 2) Genivia's license for commercial use. This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. */ #ifndef soapinterop2CProxy_H #define soapinterop2CProxy_H #include "soapH.h" class interop2C { public: /// Runtime engine context allocated in constructor struct soap *soap; /// Endpoint URL of service 'interop2C' (change as needed) const char *endpoint; /// Constructor allocates soap engine context, sets default endpoint URL, and sets namespace mapping table interop2C() { soap = soap_new(); endpoint = "http://www.cs.fsu.edu/~engelen/interop2C.cgi"; if (soap && !soap->namespaces) { static const struct Namespace namespaces[] = { {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL}, {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL}, {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL}, {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL}, {"s", "http://soapinterop.org/xsd", NULL, NULL}, {"ns", "http://soapinterop.org/", NULL, NULL}, {"h", "http://soapinterop.org/echoheader/", NULL, NULL}, {"m", "http://soapinterop.org/", NULL, NULL}, {NULL, NULL, NULL, NULL} }; soap->namespaces = namespaces; } }; /// Destructor frees deserialized data and soap engine context virtual ~interop2C() { if (soap) { soap_destroy(soap); soap_end(soap); soap_free(soap); } }; /// Invoke 'echoVoid' of service 'interop2C' and return error code (or SOAP_OK) virtual int m__echoVoid(struct m__echoVoidResponse &result) { return soap ? soap_call_m__echoVoid(soap, endpoint, NULL, result) : SOAP_EOM; }; }; #endif