Class Soap
A Soap client that works like HTTP service
- wei\Base
-
wei\Soap
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
string
|
|
public
string
|
|
public
array|string
|
|
public
SoapFault
|
protected
string
|
$url
The request URL |
|
protected
string
|
$method
The name of the SOAP function to call. |
|
protected
array
|
$data
The parameters send to the SOAP function |
#
array()
|
protected
boolean
|
$global
Whether use the global options in |
#
false
|
protected
boolean
|
$throwException
Whether throw exception or keep silent when request error |
#
true
|
protected
callable
|
$beforeExecute
A callback triggered after prepared the data and before the |
|
protected
callable
|
$beforeSend
A callback triggered after prepared the data and before the process the request |
|
protected
callable
|
$success
A callback triggered after the request is called success |
|
protected
callable
|
$error
A callback triggered when the request fails |
|
protected
callable
|
$complete
A callback triggered when request finishes (after |
|
protected
mixed
|
$response
The parsed response data |
|
protected
SoapClient
|
$soapClient
The instance of soap client |
|
protected
ErrorException
|
$errorException
The error exception object |