title: Call asp.net web service from PHP with multiple parameters
body: <p>I'm using a method using SoapClient class in a php page to call a web service in an asp.net site.</p>
  
  <p>Here is the php code. </p>
  
  <pre><code>$client = new SoapClient("http://testurl/Test.asmx?WSDL");
  
  $params = array( 'Param1'  =&gt; 'Hello', 
                  'Param2' =&gt; 'World!');
  
  $result = $client-&gt;TestMethod($params)-&gt;TestMethodResult;
  
  echo $result;
  </code></pre>
  
  <p>The problem is, I'm only getting the first parameter (Param1) "Hello" back and seems like there is an issue with Param2. 
  Here is the asp.net method.</p>
  
  <pre><code>[WebMethod]
  public string TestMethod(string Param1, string Param2) 
  {
      return Param1 + " " +  Param2; 
  }
  </code></pre>
  
  <p>What am I missing to get <code>Hello World!</code> in the response?</p>