Resultado devuelto por el servicio:

NULL
							
<?php

require_once 'nusoap/nusoap.php';

class 
Client02
{
    const 
SERVICE_NAME '/apps/soap/service02.php?wsdl';
    const 
FUNCTION_NAME 'divideNumbers';

    private 
$client;
    private 
$log;
    private 
$result;

    public function 
__construct()
    {
        
$wsdl "http://{$_SERVER['HTTP_HOST']}self::SERVICE_NAME;
        
$this->client = new nusoap_client($wsdl);
        if ((
$error $this->client->getError())) {
            
$this->log("error conectado con el servicio SOAP: $error");
            
$this->client null;
        }
    }

    public function 
getResult()
    {
        return 
$this->result;
    }

    public function 
getLog()
    {
        return 
$this->log;
    }

    public function 
run($firstNumber$secondNumber)
    {
        if (
$this->client == null) {
            return 
false;
        }

        
$this->result null;
        
$this->log = array();

        
$params=array(
            
'a' => $firstNumber,
            
'b' => $secondNumber,
        );

        
$this->log('SERVICE ' self::FUNCTION_NAME ' REQUEST START');
        
$result $this->client->call(self::FUNCTION_NAME$params);
        
$this->log('SERVICE ' self::FUNCTION_NAME ' REQUEST FINISHED');

        if ((
$error $this->client->getError())) {
            
$this->log('Ha ocurrido algún error');
            
$this->log($error);
            return 
false;
        } else {
            
$this->log('Todo ok');
            
$this->result $result;
            return 
true;
        }
    }

    private function 
log($message)
    {
        
$this->log[] = $message;
    }
}
<?php

require_once 'nusoap/nusoap.php';

$service 'service02';

$server = new soap_server();

$server->configureWSDL($service);
            
$input_array = array('a' => 'xsd:int''b' => 'xsd:int');
$return_array = array('status' => 'xsd:string''message' => 'xsd:string''result' => 'xsd:float');
$server->register(
    
'divideNumbers'
    
$input_array
    
$return_array
    
"urn:$service",
    
"urn:$service#divideNumbers",
    
'rpc'
    
'encoded'
    
'Devuelve la division de los dos numeros que se le pasen como argumento'
);
            

$server->service(file_get_contents('php://input'));

function 
divideNumbers($a,$b)
{
    if (
$b == 0) {
        
$status 'error';
        
$message 'no puedes dividir por 0';
        
$result null;
    } else {
        
$status 'ok';
        
$message 'operación procesada correctamente';
        
$result $a $b;
    }
    return array(
'status' => $status'message' => $message'result' => $result);
}