You are here

function hook_wsclient_invoke_arguments_alter in Web service client 7

Alter arguments before they are sent to the endpoint.

Parameters

$arguments: 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_arguments_alter()
WSClientServiceDescription::invoke in ./wsclient.inc
Invoke a service via its endpoint.

File

./wsclient.api.php, line 178
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_arguments_alter(&$arguments, $operation, $service) {
  $arguments['new_arg'] = TRUE;
}