/* soapProLinga_4GL_NetObject.h Generated by gSOAP 2.8.8 from prolingaSoap.hpp 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 soapProLinga_4GL_NetObject_H #define soapProLinga_4GL_NetObject_H #include "soapH.h" /******************************************************************************\ * * * Service Object * * * \******************************************************************************/ class ProLinga_4GL_NetService : public soap { public: ProLinga_4GL_NetService() { static const struct Namespace namespaces[] = { {"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL}, {"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.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.prolinga.org/service/ns1.xsd", NULL, NULL}, {"pldoc1", "http://www.prolinga.org/service/pldoc1.xsd", NULL, NULL}, {NULL, NULL, NULL, NULL} }; this->namespaces = namespaces; }; virtual ~ProLinga_4GL_NetService() { }; /// 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 soap_serve(this); }; }; /******************************************************************************\ * * * Service Operations (you should define these globally) * * * \******************************************************************************/ SOAP_FMAC5 int SOAP_FMAC6 ns1__GetProLingaDocument(struct soap*, char *pldoc1__RequestDoc, char *&pldoc1__ResponseDoc); #endif