TestSOAP::MyData::Addition Class Reference

Inheritance diagram for TestSOAP::MyData::Addition:

SOAPMethod List of all members.

Public Member Functions

 Addition ()
virtual std::string methodName ()
virtual bool encode (SOAPEncoder &soapEncoder)
virtual bool execute (SOAPElement &theCall)

Private Attributes

double returnValue

Detailed Description

Definition at line 44 of file TestSOAP.cpp.

Constructor & Destructor Documentation

TestSOAP::MyData::Addition::Addition  )  [inline]

Definition at line 47 of file TestSOAP.cpp.

Member Function Documentation

bool TestSOAP::MyData::Addition::encode SOAPEncoder soapEncoder  )  [virtual]

soapEncoder: Instance of the SOAPEncoder being used to, you guessed it, encode the response. Return Value: true: Succeeded in encoding the message. false: Failed to encode the message.

Implements SOAPMethod.

Definition at line 114 of file TestSOAP.cpp.

References returnValue.

bool TestSOAP::MyData::Addition::execute SOAPElement theCall  )  [virtual]

Only to be called on the server by the dispatcher, this method executes the call and returns true if the call succeeded, false if it failed. SOAPMethods should keep any return data in a member variable. The information will be returned via a call to encode. Arugments: theCall: A SOAPElement (with possible embedded elements) that represents the call. Return Value: true: Call succeeded. false: Call failed.

Reimplemented from SOAPMethod.

Definition at line 121 of file TestSOAP.cpp.

References SOAPElement::accessorName(), SOAPElement::elementAt(), SOAPMethod::ImustUnderstand(), methodName(), SOAPElement::numElements(), returnValue, and SOAPElement::value().

virtual std::string TestSOAP::MyData::Addition::methodName  )  [inline, virtual]

Return Value: Returns the name of the method.

Implements SOAPMethod.

Definition at line 48 of file TestSOAP.cpp.

Referenced by execute().

Member Data Documentation

double TestSOAP::MyData::Addition::returnValue [private]

Definition at line 53 of file TestSOAP.cpp.

Referenced by encode(), and execute().

The documentation for this class was generated from the following file:
Generated on Tue Mar 28 09:10:16 2006 for Simple SOAP by  doxygen 1.4.6