Example PHP Web Service Return Selection Result (2)
The first file I describe in service.php is a service that created in this article describe how to create a client to call service.php . Web service you can call service you must know endpoint of service argument name input parameter not enough you must know the type of input parameter. in service.php that I describe before have one method is “search” input parameter is “keyword”
require_once(’lib\nusoap.php’);
$client = new soapclient(’http://203.157.178.8/hciss/hcissservice/helloservice.php’);
$result = $client->call(’hello’, array(’name’ => ‘Sam’));
printf($result);
?>
January 30th, 2008 at 3:16 am
[…] (HPC) « Compile c# project with command line Example PHP Web Service Return Selection Result (2) […]