Jump to content

NetworkError: 500 Internal Server Error - php web service


Recommended Posts

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('');
        //Call a function at server and send parameters too
        $response = $client->call('get_message',$param);
        //Process result
            echo "FAULT: <p>Code: (".$client->faultcode."</p>";
            echo "String: ".$client->faultstring;
            echo $response;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...