Port to PEAR and more * @author Jan Schneider Maintenance * @copyright 2003-2007 The PHP Group * @license http://www.php.net/license/2_02.txt PHP License 2.02 * @link http://pear.php.net/package/SOAP */ /* Include SOAP_Client class. */ require_once 'SOAP/Client.php'; $soapclient = new SOAP_Client('mailto:user@domain.com'); $options = array('namespace' => 'http://soapinterop.org/', 'from' => 'user@domain.com', 'host' => 'localhost'); $return = $soapclient->call('echoString', array('inputString' => 'this is a test'), $options); $return = $soapclient->call('echoStringArray', array('inputStringArray' => array('good', 'bad', 'ugly')), $options); /* Don't expect much of a result! */ print_r($return); echo $soapclient->wire;