/////////////////////////////////////////////////////
name = $n1;
$this->name2 = $n2;
}
public function getName() {
return $this->name .' '. $this->name2;
}
}
$person = new SayHelloRequest('Josh', 'Team');
$client = new SoapClient('http://localhost/~joshteam/Soap/man2.wsdl');
echo $client->SayHello($person);
} catch (Exception $e) {
echo 'Error:'. $e->getMessage() .'
';
print_r($client->__getFunctions());
}
?>
/////////////////////////////////////////////////////
RETURNS:
Error:Procedure 'SayHelloRequest' not present
Array ( [0] => string SayHello(SayHelloRequest $parameters) )