I am trying to call a function in my C# webservice but get this error:
"Catchable fatal error: Object of class stdClass could not be converted to string".
This is my code:
<?php
try
{
$soap_client = new
soapclient("http://tsb01.cnap.hv.se/PersonalService/ServicePersonal.svc?wsdl");
$quote = $soap_client->VisaPersonNamn();
echo "$quote";
}
catch(SoapFault $exception)
{
echo $exception->getMessage();
}
?>
The webservice is really simple it only returns one string..
Can't figure out what's wrong.. help would be really nice!! :)