title: How can i call .NET web service from PHP
body: <p>The .NET web service code</p>
  
  <pre><code>[WebMethod]
  public string asd(){
      return "asd";
  }
  </code></pre>
  
  <p>The PHP code:</p>
  
  <pre><code>&lt;?php
  require 'lib/nusoap.php';
  
  $client = new SoapClient("http://localhost/nos/WebSite/Service.asmx?WSDL");
  
  $error = $client-&gt;getError();
  if ($error) {
      die("client construction error: {$error}\n");
  }
  
  $answer = $client-&gt;call('asd');
  print $answer;
  $error = $client-&gt;getError();
  ?&gt; 
  </code></pre>
  
  <p>I searched a lot and applied everything but my code doesn't work, it only shows a white page.</p>