49 virtual void Init(
void);
58 const string& wsdl_filename,
const string& namespace_name)
97 resp->SetText(
"NCBI C++ Toolkit, Sample Soap Server Application");
109 resp->SetVersionStruct().SetClientID(req ? req->GetClientID() :
"unknown clientid");
110 resp->SetVersionStruct().SetMajor(1);
111 resp->SetVersionStruct().SetMinor(0);
123 for (
const auto& op : ops) {
133 resp->SetMathResult().push_back(res);
virtual void Init(void)
This method is called on the CGI application initialization – before starting to process a HTTP reque...
bool DoMath(CSoapMessage &response, const CSoapMessage &request)
bool GetDescription2(CSoapMessage &response, const CSoapMessage &request)
bool GetDescription(CSoapMessage &response, const CSoapMessage &request)
CSampleSoapServerApplication(const string &wsdl_filename, const string &namespace_name)
void AddObject(const CSerialObject &obj, EMessagePart destination)
void AddMessageListener(TWebMethod listener, const string &message_name, const string &namespace_name=kEmptyStr)
bool(CSoapServerApplication::* TWebMethod)(CSoapMessage &response, const CSoapMessage &request)
void RegisterObjectType(TTypeInfoGetter type_getter)
int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)
Main function (entry point) for the NCBI application.
CVersionInfo GetVersion(void) const
Get the program version information.
virtual void Init(void)
This method is called on the CGI application initialization – before starting to process a HTTP reque...
list< CRef< COperand > > TOperand
EAttlist_operation TOperation
int NcbiSys_main(int argc, ncbi::TXChar *argv[])