TestSOAP::MyData::Base64Test Class Reference

Inheritance diagram for TestSOAP::MyData::Base64Test:

SOAPMethod List of all members.

Public Member Functions

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

Private Attributes

unsigned char * returnValue
unsigned long returnLength
SOAPElementmyMethod

Detailed Description

Definition at line 72 of file TestSOAP.cpp.


Constructor & Destructor Documentation

TestSOAP::MyData::Base64Test::Base64Test  )  [inline]
 

Definition at line 75 of file TestSOAP.cpp.

References myMethod.


Member Function Documentation

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

References SOAPElement::accessorName(), SOAPElement::elementAt(), SOAPEncoder::encodeBase64(), myMethod, returnLength, and returnValue.

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

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

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

Return Value: Returns the name of the method.

Implements SOAPMethod.

Definition at line 76 of file TestSOAP.cpp.

Referenced by execute().


Member Data Documentation

SOAPElement* TestSOAP::MyData::Base64Test::myMethod [private]
 

Definition at line 83 of file TestSOAP.cpp.

Referenced by Base64Test(), encode(), and execute().

unsigned long TestSOAP::MyData::Base64Test::returnLength [private]
 

Definition at line 82 of file TestSOAP.cpp.

Referenced by encode(), and execute().

unsigned char* TestSOAP::MyData::Base64Test::returnValue [private]
 

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