<?php
include("lib/nusoap.php");
$wsdl = //qui inserisco l'indirizzo del wsdl
//$con= new SoapClient($wsdl);
$soap_client = new nusoap_client($wsdl./qui inserisco il target namespace, true, null, null, null, null);
$err = $soap_client->getError();
if ($err) {
echo $err;
die();
}
$username="tizio";
$password="caio";
$param = array("username" => $username, "password" => $password);
$result = $soap_client->call("Authenticate", $param, "", "");