A soap response.
More...
#include <libppbase/base_soap/SOAPResponse.h>
List of all members.
Public Member Functions |
| | SOAPResponse (const SOAPRequest &request) |
| | Copy constructor.
|
| | SOAPResponse (const SOAPRequest &request, const SOAPException &exception) |
| | Constructor that creates an exception on the server side.
|
| | SOAPResponse (xercesc::DOMImplementation *implementation, xercesc::DOMBuilder *parser, xercesc::DOMDocument *document) |
| | Constructor that creates a response on the client side.
|
| void | addException (const SOAPException &exception) |
| | Adds an exception to the response.
|
| void | copyRequest (SOAPRequest *request) |
| | Copies all input parameters from the request to output parameters of this response.
|
| bool | failed () const |
| | Checks if the soap call failed.
|
| void | throwException (const base::String &host) const |
| | Throws an exception if the remote call failed.
|
Detailed Description
A soap response.
- Author:
- Christoph Schwarz
- Version:
- Id:
- SOAPResponse.h 21 2010-09-05 04:18:17Z cschwarz1
Constructor & Destructor Documentation
| base_soap::SOAPResponse::SOAPResponse |
( |
const SOAPRequest & |
request |
) |
|
Copy constructor.
- Parameters:
-
| request | the source object |
Constructor that creates an exception on the server side.
- Parameters:
-
| request | the request that caused the exception |
| exception | the exception |
| base_soap::SOAPResponse::SOAPResponse |
( |
xercesc::DOMImplementation * |
implementation, |
|
|
xercesc::DOMBuilder * |
parser, |
|
|
xercesc::DOMDocument * |
document | |
|
) |
| | |
Constructor that creates a response on the client side.
- Parameters:
-
| implementation | a dom implementation |
| parser | a dom parser |
| document | the document parsed and owned by the parser |
Member Function Documentation
| void base_soap::SOAPResponse::addException |
( |
const SOAPException & |
exception |
) |
|
Adds an exception to the response.
- Parameters:
-
| exception | the exception to add |
| void base_soap::SOAPResponse::copyRequest |
( |
SOAPRequest * |
request |
) |
|
Copies all input parameters from the request to output parameters of this response.
- Parameters:
-
| request | the source soap request |
| bool base_soap::SOAPResponse::failed |
( |
|
) |
const |
Checks if the soap call failed.
- Returns:
- true if the response contains errors, false if not
| void base_soap::SOAPResponse::throwException |
( |
const base::String & |
host |
) |
const |
Throws an exception if the remote call failed.
- Parameters:
-
| host | the hostname of the server |
The documentation for this class was generated from the following file: