FXSend/MMS_mm7/IMm7MMSmm7SoapBindingObject.h
2025-02-28 17:05:50 +08:00

59 lines
2.6 KiB
C++

/* IMm7MMSmm7SoapBindingObject.h
Generated by gSOAP 2.8.6 from IMm7MMS.h
Copyright(C) 2000-2011, 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 IMm7MMSmm7SoapBindingObject_H
#define IMm7MMSmm7SoapBindingObject_H
#include "IMm7MMSH.h"
/******************************************************************************\
* *
* Service Object *
* *
\******************************************************************************/
namespace IMm7MMS {
class mm7SoapBindingService : public soap
{ public:
mm7SoapBindingService()
{ 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://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-0", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
this->namespaces = namespaces; };
virtual ~mm7SoapBindingService() { };
/// 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); };
/// Serve this request (returns error code or SOAP_OK)
virtual int serve() { return IMm7MMS_serve(this); };
};
/******************************************************************************\
* *
* Service Operations (you should define these globally) *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 __ns1__deliveryReportReq(struct soap*, ns1__deliveryReportReqType *ns1__DeliveryReportReq, struct __ns1__deliveryReportReqResponse &_param_1);
} // namespace IMm7MMS
#endif