Hi,

I am trying to invoke WCF Service using PHP nusoap_client()
I am keep on getting error message
"Object reference not set to an instance of an object."

Here is my PHP Code:

[CODE]
<?php

require_once('nusoap-0.9.5\lib\nusoap.php');

$soapClient = new nusoap_client('svc?wsdl 'wsdl','','', '', '');
$soapClient->soap_defencoding = 'UTF-8';
$ns = "svc.?wsdl";


$today= date("Y-m-d");
$next = mktime(0,0,0,date("m"),date("d")-10,date("Y"));
$_ndate = date("Y-m-d", $next);

$logparam=array('ConfigName' => 'SAM','Server' => 'svc?wsdl','UserID' => 'sa');

$soapClient->call('Login',array('LoginRequest' => $logparam),$ns);


foreach ($soapClient as $c) {
echo "val: ".$c."<br>";
}

?>
[CODE]
can any one help on this pls?