|
|
Memory::BLOB | Stroika::Frameworks::WebService::SOAP::Serialize (const Request &request, const Options &options={}) |
| | The SOAP message - its XML, UTF-8 - which sends it: a call, its answer, or a fault.
|
| |
|
Memory::BLOB | Stroika::Frameworks::WebService::SOAP::Serialize (const Response &response, const Options &options={}) |
| | The SOAP message - its XML, UTF-8 - which sends it.
|
| |
|
Memory::BLOB | Stroika::Frameworks::WebService::SOAP::Serialize (const Fault &fault, const Options &options={}) |
| | The SOAP message - its XML, UTF-8 - which sends it.
|
| |
|
void | Stroika::Frameworks::WebService::SOAP::DeSerialize (const Memory::BLOB &b, Request *request, const Options &options={}) |
| | The SOAP message read: what Serialize writes, and any other's. Throws DataExchange::BadFormatException if it is not one - a Response read from a fault, say; and throws in a build with no XML parser.
|
| |
|
void | Stroika::Frameworks::WebService::SOAP::DeSerialize (const Memory::BLOB &b, Response *response, const Options &options={}) |
| | The SOAP message read.
|
| |
|
void | Stroika::Frameworks::WebService::SOAP::DeSerialize (const Memory::BLOB &b, Fault *fault, const Options &options={}) |
| | The SOAP message read.
|
| |
| Response | Stroika::Frameworks::WebService::SOAP::Invoke (const URI &url, const String &soapAction, const Request &request, const Options &options={}) |
| | Call a method: POST request to url, with soapAction (in quotes, as SOAPAction headers are: section 6.1.1) - and return its answer. Throws FaultException if answered with a fault; another failed HTTP response as IO::Network::Transfer::Exception; an answer that is not SOAP as DataExchange::BadFormatException.
|
| |
|
Response | Stroika::Frameworks::WebService::SOAP::Invoke (IO::Network::Transfer::Connection::Ptr connection, const URI &url, const String &soapAction, const Request &request, const Options &options={}) |
| | Call a method, over the caller's connection.
|
| |
|
void | Stroika::Frameworks::WebService::SOAP::HandleRequest (WebServer::Message &m, const function< Response(const Request &)> &handler, const Options &options={}) |
| | Answer a call, at its URL's route: 415 (Unsupported Media Type) if its body is not text/xml; else its Request read and answered with handler's Response - or, status 500, with the Fault handler throws (as FaultException), or a Client fault if the request is not a SOAP call (nor, with options.fValidateReadAgainst, a valid one).
|
| |
- Note
- Code-Status: Alpha
Definition in file SOAP.h.