Hi, i have created a php form using web services. i am able to connect to the webservice but not the db, when data was submitted, it always return an error message "System.FormatException: Input string was not in a correct format", here is the code, any comments will be appreciated.
$data = "xyz";
ini_set('soap.wsdl_cache_enabled', 0);
$client = new SoapClient("xxx.asmx?wsdl", array('trace' => 1, 'exceptions'=> 1,));
try {
$params->userDataXMLString = $data;
$objectresult = $client->function($params);
$simpleresult = $objectresult->functionResult;
var_dump($simpleresult);
} catch (SoapFault $exception) {
echo $exception;
}