You are here

function hook_wsclient_invoke_response_alter in Web service client 7

Alter the response back from the endpoint.

Parameters

$response: The named arguments array that's sent to the endpoint

$operation: The name of the operation

$service: The instance of WSClientServiceDescription that's invoking the hook.

See also

WSClientServiceDescription::invoke()

1 invocation of hook_wsclient_invoke_response_alter()
WSClientServiceDescription::invoke in ./wsclient.inc
Invoke a service via its endpoint.

File

./wsclient.api.php, line 197
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document web service descriptions in the standard Drupal manner.

Code

function hook_wsclient_invoke_response_alter(&$response, $operation, $service) {
  $response['wsclient_status'] = 'OK!';
}