Hi John,
I have used Soap with PHP, though not explicitly with ChronoForms. However, it should'nt be any harder to implement in CF than in simple PHP.
It's fairly trivial using the SoapClient PHP-class, create a new instance of the class pointing to the WSDL-descriptor of the SoapService. Then, you can call any method in the Soap engine as a local class method of the newly created instance:
<?
$mysoap = new SoapClient('http://www.example.com/soap.wsdl');
print_r($mysoap->doExampleTask());
?>
Passing parameter values along with the Soap call is a bit more difficult, as the class-methods only takes one parameter. This should be an array with name=>value pairs of the actual parameters in the Soap interface:
<?
$mysoap = new SoapClient('http://www.example.com/soap.wsdl');
$params = new Array(
'arg0' => 'A string',
'arg1' => 123
);
print_r($mysoap->doOtherTask($params));
The exact names for arg0, arg1, and so on can be retrieved from the WSDL-file. Also, keep in mind that the SoapClient class will cache the WSDL by default, so make sure to turn this off if your Soap-API is not finalized yet.
/Fredrik