soon Posted June 8, 2016 Share Posted June 8, 2016 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; } } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.