Thomas James - 2008-10-14

Hi there

Can any one explain to me if i am doing anything wrong:

Following is the code which i have written:

require_once("nusoap.php");
$client = new nusoap_client("https://nexweb.nextech.com/NexWebObjects/NexWebObjectsService.asmx?WSDL");

$LogIn_params = array('NexWebKey'=>'lista.test1','WebUserUsername'=>'TechWyseWebDev','WebUserPassword'=>'myWebUserPass');
$result = $client->call('LogIn', $LogIn_params);
print_r($result);

First i created a client object pointing to the required WSDL.

Then i made a call to the LogIn() function with required parameters (have used the required parameter names as the array index)

but once i run this code i get the following error:

"Array ( [faultcode] => soap:Client [faultstring] => System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: . at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) [detail] => ) "

am tottaly confused as this is my first time on a SOAP application

tia

regards
thomas