This project is read-only.
You will require the NsSOAP library to consume web services from PHP in this tutorial.
  • Make a reference to the NuSOAP llibrary in the PHP code and add the URL of the web service:
$service = '';
  • Set up the SOAP client provided by NuSOAP:
$soap_client = new nusoap_client($service, 'wsdl');
$soap_client_proxy = $client->getProxy();
  • Create an array containing the GaussView output and pass it to the web service. Ensure the indexer is named output.
$param['output'] = $gvoutputString;
$csv_return = $soap_client_proxy->ToCsv($param);
$csv = implode($csv_return);

Last edited Jul 17, 2012 at 12:12 AM by BWHazel, version 1


No comments yet.