You are here

function soap_server::verify_method in Salesforce Suite 5

Same name in this branch
  1. 5 includes/nusoap.php \soap_server::verify_method()
  2. 5 includes/nusoap.orig.php \soap_server::verify_method()
Same name and namespace in other branches
  1. 5.2 includes/nusoap.php \soap_server::verify_method()
  2. 5.2 includes/nusoap.orig.php \soap_server::verify_method()

* takes the value that was created by parsing the request * and compares to the method's signature, if available. * *

Parameters

string $operation The operation to be invoked: * @param array $request The array of parameter values * @return boolean Whether the operation was found * @access private

2 calls to soap_server::verify_method()
soap_server::invoke_method in includes/nusoap.php
* invokes a PHP function for the requested SOAP method * * The following fields are set by this function (when successful) * * methodreturn * * Note that the PHP function that is called may also set the following * fields to affect the response…
soap_server::invoke_method in includes/nusoap.orig.php
* invokes a PHP function for the requested SOAP method * * The following fields are set by this function (when successful) * * methodreturn * * Note that the PHP function that is called may also set the following * fields to affect the response…

File

includes/nusoap.php, line 3791

Class

soap_server
soap_server allows the user to create a SOAP server that is capable of receiving messages and returning responses

Code

function verify_method($operation, $request) {
  if (isset($this->wsdl) && is_object($this->wsdl)) {
    if ($this->wsdl
      ->getOperationData($operation)) {
      return true;
    }
  }
  elseif (isset($this->operations[$operation])) {
    return true;
  }
  return false;
}