TestSOAP::MyData::Subtraction Class Reference

Inheritance diagram for TestSOAP::MyData::Subtraction:

SOAPMethod List of all members.

Public Member Functions

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

Private Attributes

double returnValue

Detailed Description

Definition at line 58 of file TestSOAP.cpp.

Constructor & Destructor Documentation

TestSOAP::MyData::Subtraction::Subtraction  )  [inline]

Definition at line 61 of file TestSOAP.cpp.

Member Function Documentation

bool TestSOAP::MyData::Subtraction::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 147 of file TestSOAP.cpp.

References returnValue.

bool TestSOAP::MyData::Subtraction::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 154 of file TestSOAP.cpp.

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

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

Return Value: Returns the name of the method.

Implements SOAPMethod.

Definition at line 62 of file TestSOAP.cpp.

Referenced by execute().

Member Data Documentation

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

Definition at line 67 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