149 const Version =
"0.2.5";
152 const Headers = {
"User-Agent": (
"Qore-Soap-Client/" + SoapClient::Version)};
155 const HTTPOptions = keys HttpConnection::ConnectionScheme.options;
179 hash headers = Headers;
188 const EncodingSupport = ...;
192 const CompressionThreshold = 1024;
231 hash<auto>
getMsg(
string operation,
auto args, *hash<auto> soap_header, reference<auto> op, *hash<auto> http_header, *
int xml_opts, *
string soapaction);
267 auto callOperation(
string operation,
auto args, *hash<auto> opts, *reference info);
289 auto call(
string operation,
auto args, *hash<auto> soap_header, *hash<auto> http_header, *
string binding);
320 auto call(
string operation,
auto args, *reference info, *
string binding);
352 auto call(reference info,
string operation,
auto args, *hash<auto> soap_header, *hash<auto> http_header);
357 auto makeCallIntern(*reference info,
string operation,
auto args, *hash<auto> opts);
533 hash<auto> real_opts;
548 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {})
setSendEncoding(string enc='auto')
change the data content encoding (compression) option for the object; see EncodingSupport for valid o...
hash< auto > getDefaultHeaders()
returns the hash of default headers to sent in all requests
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...
addDefaultHeaders(hash< auto > h)
adds default headers to each request; these headers will be sent in all requests but can be overridde...
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
string url
target URL
Definition: SoapClient.qm.dox.h:177
setContentEncoding(string enc='auto')
sets the request and desired response encoding for the object; see EncodingSupport for valid options
auto call(string operation, auto args, *reference info, *string binding)
makes a server call with the given operation and arguments and returns the deserialized result
log(string msg)
sends a log message to the 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...
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
dbglog(string msg)
sends a log message to the debug log closure or call reference, if any
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
auto methodGate(string op)
uses SoapClient::call() to transparently serialize the argument and make a call to the given operatio...
hash< auto > getInfo()
returns a hash of information about the current WSDL
WSDL::WebService getWebService()
returns the WSDL::WebService object associated with this object
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...
auto call(reference info, string operation, auto args, *hash< auto > soap_header, *hash< auto > http_header)
makes a server call with the given operation and arguments and returns the deserialized result with a...
constructor(hash< auto > h)
creates the object based on a WSDL which is parsed to a WebService object which provides the basis fo...
class for SOAP connections; returns an object of class SoapClient for connecting to SOAP servers
Definition: SoapClient.qm.dox.h:530
DataProvider::AbstractDataProvider getDataProvider()
returns a data provider object for this connection
*hash< auto > getRuntimeOptions()
returns runtime options
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
bool hasDataProvider()
returns True as this connection returns a data provider with the getDataProvider() method
SoapClient getImpl(bool connect=True, *hash< auto > rtopts)
returns a SoapClient object
const ConnectionScheme
Connection entry info.
Definition: SoapClient.qm.dox.h:536
string getType()
returns "soap"
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:143