Do you have a question? Post it now! No Registration Necessary. Now with pictures!
November 21, 2007, 4:10 pm
rate this thread
Re: SOAP on php v5.2.4
You can use the SOAP extension described at php.net/soap.
To enable it, you can configure PHP with --enable-soap=shared and add
extension=soap.so to your php.ini. When activated, you'll see it in
your phpinfo output.
Here's a typical example with debugging:
$sc = new SoapClient('http://example.net/ws.wsdl ', array('trace' =>
$params = array('x' => 1, 'y' => 2);
$res = $sc->SomeMethod($params);
echo "SOAP trace: Request:\n\n" . $sc->__getLastRequest() .
"\nResponse:\n\n" . $sc->__getLastResponse() . "\n";
On Nov 21, 11:10 am, tommy...@gmail.com wrote: