Having a big issue trying to get this to work, it is a simple hello world nusoap web service but it is not working

  [url]https://www.5s7.com:81/remote/client.php[/url]

have any idea what is wrong.
Thanks in advance

Below is the code for the service as you can see its a frills echo server or hello world example and functions as expected on another server but I am thinking Apache or PHP requires something that is missing like a module or compile time option.


Server.php

<?php

require_once('nusoap.php');
$server = new soap_server;
$server->register('hello');
function hello ($name) {
return "Hello $name";
}
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : '';
$server->service($HTTP_RAW_POST_DATA);
?>


Client.php

<?php

include('nusoap.php');
$soapclient = new soapclient('https://www.5s7.com:81/remote/server.php');
echo $soapclient->call('hello', array('name'=>'The SOAP server has reponsed correctly'));
$err = $soapclient->getError();
if ($err) {
echo '<h2>Error</h2><pre>' . $err . '</pre>';
echo '<h2>Request</h2><pre>' . htmlspecialchars($soapclient->request, ENT_QUOTES) . '</pre>';
echo '<h2>Response</h2><pre>' . htmlspecialchars($soapclient->response, ENT_QUOTES) . '</pre>';
echo '<h2>Debug</h2><pre>' . htmlspecialchars($soapclient->debug_str, ENT_QUOTES) . '</pre>';
}
?>

    Write a Reply...