#include <XSECSOAPRequestorSimple.hpp>
Inheritance diagram for XSECSOAPRequestorSimple:
The XKMS client code needs to be able to call on a SOAP requestor implementation that will handle wrapping the request in a SOAP msg and transporting it to the SOAP server. This class provides a very naieve implementation that wraps the message and does a basic HTTP POST to get the message to the end server.
Configuration methods | |
void | setEnvelopeType (envelopeType et) |
Set the envelope type. | |
Public Types | |
enum | envelopeType { ENVELOPE_NONE, ENVELOPE_SOAP11, ENVELOPE_SOAP12 } |
Public Member Functions | |
Constructors and Destructors | |
XSECSOAPRequestorSimple (const XMLCh *uri) | |
Constructor. | |
virtual | ~XSECSOAPRequestorSimple () |
Interface methods | |
virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | doRequest (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *request) |
Do a SOAP request. |
|
Envelope Enumeration |
|
Constructor. Create a SOAP requestor that can be used to access a specific server
|
|
|
|
Do a SOAP request. Performs a request based on the passed in DOM document and the indicated URI. The function is returns a pointer to the parsed result message (with the SOAP envelope removed)
Implements XSECSOAPRequestor. |
|
Set the envelope type. The requestor can do a SOAP 1.1, SOAP 1.2 or no envelope around the message. This call allows the apllication to set the type. By default, the requestor uses a SOAP 1.1 envelope
|