title: PHP Make SOAP Client Request Returns 500 Internal Server Error
body: <p>I'm using PHP to make SOAP request. I do have information of the web service from the third party. Basically what they have give me:</p>
  
  <ol>
  <li>The full URI request ( <a href="http://xx.xx.xx.xx:xxxxxx/some/services/BasicDo" rel="nofollow">http://xx.xx.xx.xx:xxxxxx/some/services/BasicDo</a> )</li>
  <li>Username &amp; Password</li>
  </ol>
  
  <p>I am pretty new however I could understand a bit how PHP SOAP things work. However in the example I found the URL called is something like <code>http://xx.xx.xx.xx/services/myservice?wsdl</code> which is not really same with what I have with me. Additional question here is what should I ask them? Perhaps what is the name of wsdl file?</p>
  
  <p>Also so far I have this code with me:</p>
  
  <pre><code>try{
      $client = new SoapClient("http://xx.xx.xx.xx:xxxxx/some/services/BasicDo?wsdl", array('login'=&gt;"myusername",'password'=&gt; "mypwd"));
  }
  catch(SoapFault $fault) {
      trigger_error("SOAP Fault: (faultcode: {$fault-&gt;faultcode}, faultstring: {$fault-&gt;faultstring})", E_USER_ERROR);
  }
  </code></pre>
  
  <p>But from the console, I received status 500 Internal Server Error. I don't know how this can be, I am expecting something from the catch block. Somebody please clarify me this. Thank you in advance.</p>