title: Check if soap connection working
body: <p>Quick one,
  How would you go about checking if your connection to a soap server is actually connecting?</p>
  
  <p>I have this code:</p>
  
  <pre><code>$m_wsdl = "https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl";
      try {
          $client = new SoapClient($m_wsdl);
  
          $this-&gt;m_messages = $client-&gt;peekMessages('','',10,"");
      } catch (Exception $e) {
  
          echo "Exception: \n" . $e-&gt;getMessage() . "\n";
      }
  
      $this-&gt;do_parse_xml();
  </code></pre>
  
  <p>Obviously my username and password are in the peekmessages field where they should be, and they are both correct i am 100%.</p>
  
  <p>For some reason its not returning any data at all and i dont know how to check to see if the connection is actually working??</p>
  
  <p>Im getting no exceptions being echo'd</p>
  
  <p>Thanks for any help</p>