title: SOAP client with Zend framework 2
body: <p>I'm trying to create a SOAP client in Zend framework 2, I've created the below which returns the data correctly</p>
  
  <pre><code>try {
    $client = new Zend\Soap\Client("http://www.webservicex.net/country.asmx?WSDL");
    $result = $client-&gt;GetCountries();      
    print_r($result);
  } catch (SoapFault $s) {
    die('ERROR: [' . $s-&gt;faultcode . '] ' . $s-&gt;faultstring);
  } catch (Exception $e) {
    die('ERROR: ' . $e-&gt;getMessage());
  }
  </code></pre>
  
  <p>however when I try to send data to the webservice for example using</p>
  
  <pre><code>try {
    $client = new Zend\Soap\Client("http://www.webservicex.net/country.asmx?WSDL");
    $result = $client-&gt;GetCurrencyByCountry('Australia');
    print_r($result);
  } catch (SoapFault $s) {
    die('ERROR: [' . $s-&gt;faultcode . '] ' . $s-&gt;faultstring);
  } catch (Exception $e) {
    die('ERROR: ' . $e-&gt;getMessage());
  }
  </code></pre>
  
  <p>I just get the following message</p>
  
  <pre><code>ERROR: [soap:Receiver] System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.Data.SqlClient.SqlException: Procedure or function 'GetCurrencyByCountry' expects parameter '@name', which was not supplied. at WebServicex.country.GetCurrencyByCountry(String CountryName) --- End of inner exception stack trace ---
  </code></pre>
  
  <p>How do I supply parameters to the webservices ?</p>