Property | Type | Description | |
---|---|---|---|
$options | |||
$request | string | ||
$response | string | ||
$soapHook | SOAP library hook used to intercept SOAP requests. |
Method | Description | |
---|---|---|
__construct ( $wsdl, $options = [] ) | ||
__doRequest ( string $request, string $location, string $action, integer $version, integer $one_way ) : string | Performs (and may intercepts) SOAP request over HTTP. | |
__getLastRequest ( ) | ||
__getLastResponse ( ) | ||
setLibraryHook ( |
Sets the SOAP library hook which is used to intercept SOAP requests. |
Method | Description | |
---|---|---|
getLibraryHook ( ) : |
Returns currently used SOAP library hook. | |
realDoRequest ( string $request, string $location, string $action, integer $version, integer $one_way ) : string | Performs a real SOAP request over HTTP. |
public __doRequest ( string $request, string $location, string $action, integer $version, integer $one_way ) : string | ||
$request | string | The XML SOAP request. |
$location | string | The URL to request. |
$action | string | The SOAP action. |
$version | integer | The SOAP version. |
$one_way | integer | If one_way is set to 1, this method returns nothing. Use this where a response is not expected. |
return | string | The XML SOAP response. |
protected getLibraryHook ( ) : |
||
return | SOAP library hook. |
protected realDoRequest ( string $request, string $location, string $action, integer $version, integer $one_way ) : string | ||
$request | string | The XML SOAP request. |
$location | string | The URL to request. |
$action | string | The SOAP action. |
$version | integer | The SOAP version. |
$one_way | integer | If one_way is set to 1, this method returns nothing. Use this where a response is not expected. |
return | string | The XML SOAP response. |
public setLibraryHook ( |
||
$hook | SOAP library hook to use when intercepting SOAP requests. |