Hi, I call nusoap service but got this error: "no transport found, or selected transport is not yet supported!" Here is my code:
include('../common/libs/nusoap/lib/nusoap.php');
$client = new \MikiID\Libs\nusoap_client('https://localhost/server/miki_service1625/index.php?wsdl', true);
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = FALSE;
$err = $client->getError();
if ($err) {
echo '-9999 abc';
}
$key = 'my_key';
$account_name = 'admin';
$password = 'admin';
$ip = NULL;
$comment = NULL;
$reference_id = NULL;
$md5 = \md5($account_name . $password . $key . $ip . $comment. $reference_id);
$result = $client->call('CreateAccount', array('account_name' => $account_name
,'password' => $password
,'ip' => $ip
,'comment' => $comment
,'reference_id' => $reference_id
,'sign' => $md5));
if ($client->fault) {
echo '-9999h';
} else {
$err = $client->getError();
//print_r($client);
echo $err;
if ($err) {
echo '-9999';
} else {
echo $result;
}
}
Somebody help me, please!