Qore xml Module 2.1.0
Loading...
Searching...
No Matches
WSDL::WsdlPollOperation Class Reference

main class representing a parsed WSDL file More...

#include <WSDL.qm.dox.h>

Inherits Qore::AbstractPollOperation.

Public Member Methods

void constructor (soft< Logger::LoggerInterface > logger, soft< hash< auto > > http_headers, string wsdl_url, soft< hash< auto > > http_opts)
 Complete state.
 

Public Attributes

const auto SPS_GET_WSDL = ...
 Get WSDL state.
 
const auto SPS_GET_IMPORT = ...
 Get XSD import state.
 
const auto SPS_BUILD = ...
 Build WebService state.
 
const auto SPS_COMPLETE = ...
 Complete state.
 

Detailed Description

main class representing a parsed WSDL file

This is the main class for handling SOAP communication and is based on a WSDL file

Thread Safety
This class is designed to be thread-safe for read operations once constructed. Multiple threads can safely use the same WebService object for SOAP serialization and deserialization operations. However, the class should not be modified after construction in a multi-threaded context.
Usage Example
WebService ws(wsdl_string, {"def_path": "/path/to/schemas"});
# Get all available operations
list<string> ops = ws.listOperations();
# Serialize a SOAP request
hash<auto> msg = ws.serializeRequest(op_name, args);
Poll operation for async WSDL retrieval and schema imports Uses only non-blocking I/O for WSDL and XSD retrieval
Since
WSDL 0.5.8

The documentation for this class was generated from the following file: