Hello everyone
I'm new to limesurvey development so I'm looking for some help. When I try to use remote control to create a survey I get an error.
Can please someone help.
Here is the error:
SOAP Error: Server: : Import went wrong somehow
And here is the code:
<?php
$wsdl="http://localhost/limesurvey/admin/remotecontrol/lsrc.server.php?wsdl";
$client = new SoapClient($wsdl, array('soap_version' => SOAP_1_1,
'trace' => 1));
try
{
$sReturn = $client->screateSurvey("username" ,
"pass",
"100",
"Tesntnaaaaaaa",
"Poskus");
}
catch (SoapFault $fault)
{
// $sOutput .=
echo " <br/><br/>SOAP Error: ".$fault->faultcode." : ".$fault->faultstring;
}
?>