aboutsummaryrefslogtreecommitdiff
path: root/dep/gsoap/soapObject.h
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2012-09-02 22:57:10 +0200
committerclick <click@gonnamakeyou.com>2012-09-02 22:57:10 +0200
commit0cca186a44b0707dbe410d943638fd5227882021 (patch)
tree62c86e2211ebc667d6afd7e10326d26637b03957 /dep/gsoap/soapObject.h
parent28a5e1e1483993d28e6af9c1219116d74cd9ac3b (diff)
Core/Dependencies: Ugrade gsoap-library to v2.8.10
+ add documentation for later upgrades and the original stub.file used for service generation.
Diffstat (limited to 'dep/gsoap/soapObject.h')
-rw-r--r--dep/gsoap/soapObject.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/dep/gsoap/soapObject.h b/dep/gsoap/soapObject.h
new file mode 100644
index 00000000000..74be68bb76a
--- /dev/null
+++ b/dep/gsoap/soapObject.h
@@ -0,0 +1,57 @@
+/* soapObject.h
+ Generated by gSOAP 2.8.10 from gsoap.stub
+
+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 soapServiceObject_H
+#define soapServiceObject_H
+#include "soapH.h"
+
+/******************************************************************************\
+ * *
+ * Service Object *
+ * *
+\******************************************************************************/
+
+class ServiceService : public soap
+{ public:
+ ServiceService()
+ { 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},
+ {"ns1", "http://tempuri.org/ns1.xsd", NULL, NULL},
+ {NULL, NULL, NULL, NULL}
+};
+
+ this->namespaces = namespaces; };
+ virtual ~ServiceService() { };
+ /// Bind service to port (returns master socket or SOAP_INVALID_SOCKET)
+ virtual SOAP_SOCKET bind(const char *host, int port, int backlog) { return soap_bind(this, host, port, backlog); };
+ /// Accept next request (returns socket or SOAP_INVALID_SOCKET)
+ virtual SOAP_SOCKET accept() { return soap_accept(this); };
+#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
+ /// Then accept SSL handshake, when SSL is used
+ virtual int ssl_accept() { return soap_ssl_accept(this); };
+#endif
+ /// Serve this request (returns error code or SOAP_OK)
+ virtual int serve() { return soap_serve(this); };
+};
+
+/******************************************************************************\
+ * *
+ * Service Operations (you should define these globally) *
+ * *
+\******************************************************************************/
+
+
+SOAP_FMAC5 int SOAP_FMAC6 ns1__executeCommand(struct soap*, char *command, char **result);
+
+#endif