hey guy
i try to do a web service in my local computer windows platform. i create a module in pineapple for call the web service but this come out the error i dunno know where this wrong.
private function getWebService() {
require_once ('lib/nusoap.php');
//Give it value at parameter
$param = array( 'your_name' => 'Roy');
//Create object that referer a web services
$client = new soapclient('http://192.168.1.100/WebServiceSOAP/server.php');
//Call a function at server and send parameters too
$response = $client->call('get_message',$param);
//Process result
if($client->fault)
{
echo "FAULT: <p>Code: (".$client->faultcode."</p>";
echo "String: ".$client->faultstring;
}
else
{
echo $response;
}
}