158 const HTTPOptions = keys HttpConnection::ConnectionScheme.options;
163 WSDL::WebService wsdl;
235 hash<auto>
getMsg(
string operation,
auto args, *hash<auto> soap_header, reference<auto> op, *hash<auto> http_header, *
int xml_opts, *
string soapaction);
271 auto callOperation(
string operation,
auto args, *hash<auto> opts, *reference info);
293 auto call(
string operation,
auto args, *hash<auto> soap_header, *hash<auto> http_header, *
string binding);
324 auto call(
string operation,
auto args, *reference info, *
string binding);
356 auto call(reference info,
string operation,
auto args, *hash<auto> soap_header, *hash<auto> http_header);
361 auto makeCallIntern(*reference info,
string operation,
auto args, *hash<auto> opts);
537 hash<auto> real_opts;
552 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
class for SOAP connections; returns an object of class SoapClient for connecting to SOAP servers
Definition SoapClient.qm.dox.h:534
bool hasDataProvider()
returns True as this connection returns a data provider with the getDataProvider() method
*hash< auto > getRuntimeOptions()
returns runtime options
SoapClient getImpl(bool connect=True, *hash< auto > rtopts)
returns a SoapClient object
bool supportsPollingApi()
returns False
soapSetup()
Common constructor initialization.
DataProvider::AbstractDataProvider getDataProvider()
returns a data provider object for this connection
string getType()
returns "soap"
constructor(hash< auto > config, *hash< auto > attr)
Creates the SoapConnection object.
setChildCapabilities()
Set child capabilities.
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
const ConnectionScheme
Connection entry info.
Definition SoapClient.qm.dox.h:540
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
creates the SoapConnection object
main SoapClient namespace
Definition SoapClient.qm.dox.h:150
dbglog(string msg)
sends a log message to the debug log closure or call reference, if any
*string getSendEncoding()
returns the current data content encoding (compression) object or nothing if no encoding option is se...
hash< auto > getType(string type, auto v)
returns a hash that can be used to ensure serialization with the XSD type given as the type argument
addDefaultHeaders(hash< auto > h)
adds default headers to each request; these headers will be sent in all requests but can be overridde...
hash< auto > getDefaultHeaders()
returns the hash of default headers to sent in all requests
constructor(hash< auto > h)
creates the object based on a WSDL which is parsed to a WebService object which provides the basis fo...
const HTTPOptions
option keys passed to the HTTPClient constructor
Definition SoapClient.qm.dox.h:158
setContentEncoding(string enc='auto')
sets the request and desired response encoding for the object; see EncodingSupport for valid options
auto callOperation(string operation, auto args, *hash< auto > opts, *reference info)
makes a server call with the given operation, arguments, options, and optional info hash reference an...
const CompressionThreshold
default threadhold for data compressions; transfers smaller than this size will not be compressed
Definition SoapClient.qm.dox.h:195
hash< auto > getInfo()
returns a hash of information about the current WSDL
const Headers
default HTTP headers
Definition SoapClient.qm.dox.h:155
hash< auto > getMsg(string operation, auto args, *hash< auto > soap_header, reference< auto > op, *hash< auto > http_header, *int xml_opts, *string soapaction)
returns a hash representing the serialized SOAP request for a given WSOperation
hash headers
HTTP headers to use.
Definition SoapClient.qm.dox.h:182
setSendEncoding(string enc='auto')
change the data content encoding (compression) option for the object; see EncodingSupport for valid o...
const Version
SOAP client class implementation, publically inherits qore's HTTPClient class public class SoapClient...
Definition SoapClient.qm.dox.h:152
auto methodGate(string op)
uses SoapClient::call() to transparently serialize the argument and make a call to the given operatio...
log(string msg)
sends a log message to the log closure or call reference, if any
nothing msglog(hash< auto > msg)
auto makeCallIntern(*reference info, string operation, auto args, *hash< auto > opts)
makes the call to the SOAP server and ensures that SOAP fault responses returned with a 500-series st...
WSDL::WebService getWebService()
returns the WSDL::WebService object associated with this object
auto call(string operation, auto args, *hash< auto > soap_header, *hash< auto > http_header, *string binding)
makes a server call with the given operation and arguments and returns the deserialized result
const EncodingSupport
Send content encoding options.
Definition SoapClient.qm.dox.h:191