Listing B
<?php
    include('SOAP/Client.php');
    $SOAPClient = new SOAP_Client("http://localhost/SOAP/example/server.php");
    $SOAPOptions = array(
            'namespace'=> 'urn:SOAP_Example_Server',
            'trace'=>1
        );
    $sEquation = $SOAPclient->call(
            "echoString",
            $params = array("inputString" => "21 divided by 7 equals: "),
            $SOAPOptions
            );
    $sResult = $SOAPclient->call(
            "divide",
           $params = array("dividend" => "21", "divisor" => 7),
            $SOAPOptions
            );
?>