-
- // do not wrap remote server system methods
- if (strpos($methodName, 'system.') !== 0) {
- $funcName = $wrapper->wrap_xmlrpc_method($client, $methodName);
- if ($funcName) {
- echo "<li>Remote server method " . htmlspecialchars($methodName) . " wrapped into php function " . $funcName . "</li>\n";
+ if ($methodName == 'examples.getStateName') {
+ $callable = $wrapper->wrap_xmlrpc_method($client, $methodName);
+ if ($callable) {
+ echo "<li>Remote server method " . htmlspecialchars($methodName) . " wrapped into php function</li>\n";