TorneLIB\Module\Network\Wrappers\SoapClientWrapper
Class SoapClientWrapper
Synopsis
class SoapClientWrapper
implements
WrapperInterface
{
- // members
- private WrapperConfig $CONFIG;
- private SoapClient $soapClient;
- private $soapClientResponse $soapClientResponse;
- private array $soapClientContent = ;
- private string $soapProxyHost = '';
- private integer $soapProxyPort = 80;
- private array $soapProxyOptions = ;
- private array $responseHeaderArray = ;
- private array $soapWarningException = ;
- private bool $reuseSoapClient = false;
- private $currentErrorHandler;
- // methods
- public void __construct()
- public WrapperConfig setStaging()
- public bool getStaging()
- public WrapperConfig setProduction()
- public mixed getProduction()
- public string getVersion()
- private bool getPriorCompatibilityArguments()
- public mixed getLastRequest()
- public mixed getLastRequestHeaders()
- public bool getLastResponse()
- public string getLastResponseHeaders()
- public array getFunctions()
- public SoapClientWrapper setConfig()
- private mixed getInheritedConfig()
- public WrapperConfig getConfig()
- public SoapClientWrapper setAuthentication()
- public array getAuthentication()
- private void getSoapClient()
- private mixed getPreparedProxyOptions()
- private $this getSoapInit()
- private int|string getHttpHead()
- private $this getSoapInitErrorHandler()
- public mixed getStreamContext()
- public $this|mixed request()
- private SoapClientWrapper setMergedSoapResponse()
- private mixed|null getFromSoap()
- private WrapperConfig setUserAgent()
- private mixed getUserAgent()
- private mixed getMagicGettableCall()
- private $this getMagicSettableCall()
- private mixed execSoap()
- private mixed getSoapResponse()
- public int getCode()
- private $this|mixed|null getInternalMagics()
- public mixed getParsed()
- public mixed getBody()
- public mixed getHeaders()
- private array getHeaderArray()
- private int getHeaderRow()
- public $this setProxy()
- private mixed getHeader()
- public SoapClientWrapper setReuseSoapClient()
- public bool getReuseSoapClient()
- public SoapClientWrapper __call()
Hierarchy
Implements
Members
private
- $CONFIG — TorneLIB\Module\Config\WrapperConfig
- $currentErrorHandler —
- $responseHeaderArray
—
array
The header that the soapResponse are returning, converted to an array. - $reuseSoapClient
—
TorneLIB\Module\Network\Wrappers\bool
Reuse soapClient session if this is true. By means, it will be reinitialized on each call otherwise. - $soapClient — SoapClient
- $soapClientContent — array
- $soapClientResponse — TorneLIB\Module\Network\Wrappers\$soapClientResponse
- $soapProxyHost — string
- $soapProxyOptions — array
- $soapProxyPort — int
- $soapWarningException — array
Methods
private
- execSoap()
- getFromSoap()
- getHeader()
- getHeaderArray()
- getHeaderRow()
- getHttpHead()
- getInheritedConfig()
- getInternalMagics()
- getMagicGettableCall()
- getMagicSettableCall()
- getPreparedProxyOptions()
- getPriorCompatibilityArguments() — Reverse compatibility with v6.0 - returns true if any of the settings here are touched.
- getSoapClient()
- getSoapInit() — SOAP initializer.
- getSoapInitErrorHandler() — Initialize SoapExceptions for special occasions.
- getSoapResponse() — Dynamically fetch responses from a soapClientResponse.
- getUserAgent()
- setMergedSoapResponse()
- setUserAgent()
public
- __construct() — SoapClientWrapper constructor.
- __call() — Dynamic SOAP-requests passing through.
- getAuthentication()
- getBody()
- getCode()
- getConfig()
- getFunctions() — Returns an array of function from the soapcall.
- getHeaders()
- getLastRequest()
- getLastRequestHeaders()
- getLastResponse()
- getLastResponseHeaders()
- getParsed()
- getProduction()
- getReuseSoapClient()
- getStaging()
- getStreamContext()
- getVersion()
- request() — Interface Request Method. Barely not in used in this service.
- setAuthentication()
- setConfig()
- setProduction()
- setProxy()
- setReuseSoapClient()
- setStaging() — If staging is false, we're considering production mode.