A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/soap__client__sample_8cpp_source.html below:

NCBI C++ ToolKit: src/sample/app/soap/client/soap_client_sample.cpp Source File

76  "http://intrawebdev8:6224/staff/gouriano/samplesoap/samplesoap.cgi"

,

78  "https://intrawebdev8/staff/gouriano/samplesoap/samplesoap.cgi"

,

80  "http://ncbi.nlm.nih.gov/"

)

106

any->SetName(

"Description"

);

114  Invoke

(response,request,fault);

115  return

SOAP_GetKnownObject<CDescriptionText>(response);

128

req->SetClientID(client_id);

132  Invoke

(response,request,fault);

133  return

SOAP_GetKnownObject<CVersionResponse>(response);

148  Invoke

(response,request,fault);

149  return

SOAP_GetKnownObject<CMathResponse>(response);

161  virtual void Init

(

void

);

162  virtual int Run

(

void

);

174  string

prog_description =

"Test NCBI C++ Toolkit Sample Soap Server\n"

;

175

arg_desc->SetUsageContext(

GetArguments

().GetProgramBasename(),

176

prog_description,

false

);

190

cout << v1->GetText() << endl;

192  ERR_POST

(

Error

<< fault->GetFaultcode() <<

": "

<< fault->GetFaultstring());

197

cout <<

v2

->GetVersionStruct().GetMajor() <<

"."

<<

198  v2

->GetVersionStruct().GetMinor() <<

": "

<<

199  v2

->GetVersionStruct().GetClientID() << endl;

201  ERR_POST

(

Error

<< fault->GetFaultcode() <<

": "

<< fault->GetFaultstring());

218  for

(

auto i

: v3->GetMathResult()) {

222  ERR_POST

(

Error

<< fault->GetFaultcode() <<

": "

<< fault->GetFaultstring());

Serializable object that stores any combination of parsable data.

virtual int Run(void)

Run the application.

virtual void Init(void)

Initialize the application.

CConstRef< CDescriptionText > GetDescription(CConstRef< CSoapFault > *fault=0)

CConstRef< CMathResponse > DoMath(CMath &ops, CConstRef< CSoapFault > *fault=0)

CConstRef< CVersionResponse > GetVersion(const string &client_id, CConstRef< CSoapFault > *fault=0)

const string & GetDefaultNamespaceName(void) const

Get default namespace name.

void RegisterObjectType(TTypeInfoGetter type_getter)

Register incoming object type.

void Invoke(CSoapMessage &response, const CSoapMessage &request, CConstRef< CSoapFault > *fault=0, const string &soap_action=kEmptyStr) const

Invoke SOAP server procedure synchronously: send 'request' and receive 'response'.

void AddObject(const CSerialObject &obj, EMessagePart destination)

Include a standard set of the NCBI C++ Toolkit most basic headers.

virtual void Init(void)

Initialize the application.

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.

virtual void SetupArgDescriptions(CArgDescriptions *arg_desc)

Setup the command line argument descriptions.

const CNcbiArguments & GetArguments(void) const

Get the application's cached unprocessed command-line arguments.

#define ERR_POST(message)

Error posting with file, line number information but without error codes.

void Error(CExceptionArgs_Base &args)

TOperand & SetOperand(void)

Assign a value to Operand data member.

@ eAttlist_operation_subtract

if(yy_accept[yy_current_state])

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines command line argument related classes.

Defines unified interface to application:

int NcbiSys_main(int argc, ncbi::TXChar *argv[])


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4