Public Method Details |
soapclient |
public void soapclient(string $endpoint, [ string $wsdl, string $portName ])
|
|
|
Parameter |
|
string |
$endpoint |
|
|
SOAP server or WSDL URL |
|
|
string |
$wsdl |
= >>""<< |
|
optional, set to true if using WSDL |
|
|
string |
$portName |
= >>""<< |
|
optional portName in WSDL document |
|
Returns |
void |
|
call |
public mixed call(string $operation, [ array $params, string $namespace, string $soapAction, boolean $headers ])
|
|
|
Parameter |
|
string |
$operation |
|
|
SOAP server URL or path |
|
|
array |
$params |
= >>array()<< |
|
array of parameters, can be associative or not |
|
|
string |
$namespace |
= >>""<< |
|
optional method namespace |
|
|
string |
$soapAction |
= >>""<< |
|
optional SOAPAction value |
|
|
boolean |
$headers |
= >>false<< |
|
optional array of soapval objects for headers |
|
Returns |
mixed |
|
getOperationData |
public array getOperationData(string $operation)
|
|
|
Parameter |
|
string |
$operation |
|
|
operation name |
|
Returns |
array array of data pertaining to the operation |
|
send |
public mixed send(string $msg, [ string $soapaction, integer $timeout ])
|
|
Note: if the operation has multiple return values the return value of this method will be an array of those values.
|
Parameter |
|
string |
$msg |
|
|
a SOAPx4 soapmsg object |
|
|
string |
$soapaction |
= >>""<< |
|
SOAPAction value |
|
|
integer |
$timeout |
= >>0<< |
|
set timeout in seconds |
|
Returns |
mixed native PHP types. |
|
parseResponse |
public object SOAPx4 parseResponse(string $data)
|
|
|
Parameter |
|
string |
$data |
|
|
response data from server |
|
Returns |
object SOAPx4 soapval object |
|
setHeaders |
public void setHeaders(string $headers)
|
|
|
Parameter |
|
|
Returns |
void |
|
getHeaders |
public mixed getHeaders()
|
|
|
Returns |
mixed object SOAPx4 soapval object or empty if no headers |
|
setHTTPProxy |
public void setHTTPProxy(string $proxyhost, string $proxyport)
|
|
|
Parameter |
|
|
|
|
Returns |
void |
|
setCredentials |
public void setCredentials(string $username, string $pword)
|
|
|
Parameter |
|
|
|
|
Returns |
void |
|
getProxy |
public object soap_proxy getProxy()
|
|
|
Returns |
object soap_proxy object |
|