This is a low level API function to make a SOAP call. Usually in WSDL mode
you can simply call SOAP functions as SoapClient methods. It is useful for
non-WSDL mode when soapaction is unknown, uri
differs from the default or when you like to send and/or receive SOAP Headers.
On error, a call to a SOAP function can cause PHP exceptions or return a
SoapFault object if exceptions was disabled.
To check if the function call failed catch the SoapFault exceptions or
check the result with the is_soap_fault() function.
SOAP functions may return one or several values. In the first case it will
return just the value of output parameter, in the second it will return
the associative array with named output parameters.
Exemplu 1. SoapClient::__call() examples
<?php $client = new SoapClient("some.wsdl"); $client->SomeFunction($a, $b, $c); $client->__call("SomeFunction", array($a, $b, $c)); $client->__call("SomeFunction", array($a, $b, $c), NULL, new SoapHeader(...), $output_headers);