soap transport service via http More...
#include <libppbase/base_soap/SOAPHTTPTransport.h>
Public Member Functions | |
SOAPHTTPTransport () | |
Constructor for a client. | |
SOAPHTTPTransport (const base::String &name, base::Socket *sock, const base::String &addr) | |
Constructor for a server. | |
virtual | ~SOAPHTTPTransport () |
Destructor. | |
SOAPResponse * | invoke (SOAPRequest &request, bool throwex=true, int timeout=300) |
Executes a soap call. | |
SOAPResponse * | invoke (SOAPRequest &request, const base::String &host, int port=0, bool throwex=true, int timeout=300) |
Executes a soap call. | |
SOAPRequest * | readRequest () |
Reads the next soap request from the client. | |
void | sendResponse (const SOAPResponse *response) |
Sends a response from the server to the client. |
soap transport service via http
base_soap::SOAPHTTPTransport::SOAPHTTPTransport | ( | const base::String & | name, | |
base::Socket * | sock, | |||
const base::String & | addr | |||
) |
Constructor for a server.
name | server name | |
sock | socket to client | |
addr | client's ip address |
SOAPResponse* base_soap::SOAPHTTPTransport::invoke | ( | SOAPRequest & | request, | |
bool | throwex = true , |
|||
int | timeout = 300 | |||
) | [virtual] |
Executes a soap call.
request | the request to execute | |
throwex | true if a remote error should cause an exception | |
timeout | timeout in seconds |
Implements base_soap::SOAPTransport.
SOAPResponse* base_soap::SOAPHTTPTransport::invoke | ( | SOAPRequest & | request, | |
const base::String & | host, | |||
int | port = 0 , |
|||
bool | throwex = true , |
|||
int | timeout = 300 | |||
) | [virtual] |
Executes a soap call.
request | the request to execute | |
host | the host name of the server, may include a port number | |
port | the port number, if not included in the host | |
throwex | true if a remote error should cause an exception | |
timeout | timeout in seconds |
Implements base_soap::SOAPTransport.
SOAPRequest* base_soap::SOAPHTTPTransport::readRequest | ( | ) | [virtual] |
Reads the next soap request from the client.
Implements base_soap::SOAPTransport.
void base_soap::SOAPHTTPTransport::sendResponse | ( | const SOAPResponse * | response | ) | [virtual] |
Sends a response from the server to the client.
response | the response to send |
Implements base_soap::SOAPTransport.