title: How to set a namespace with NuSOAP (client side)
body: <p>I asked a question like this some months ago but the problem was that the WebService was not working right. Now it is working perfectly and I'm still having problems making a simple request.
  First of all, I tried it with <a href="http://www.validwsdl.com/" rel="nofollow">http://www.validwsdl.com/</a>
  The WS is <code>http://amibcertifica.amib.com.mx:9090/axis2/services/JpaWebServicesAmib?wsdl</code>
  You can try it yourselves. It works just fine with that website.
  Now I'm trying to make a request with NuSOAP and I get the this error: <code>namespace mismatch require http://ws.mobius.amib found http://tempuri.org</code></p>
  
  <p>You can check the whole error here: <a href="http://dev.etic.com.mx/bmv/test.php" rel="nofollow">http://dev.etic.com.mx/bmv/test.php</a></p>
  
  <p>My code is the following:</p>
  
  <pre><code>&lt;?php 
  require_once('nusoap/lib/nusoap.php');
  
  $url = "http://amibcertifica.amib.com.mx:9090/axis2/services/JpaWebServicesAmib?wsdl";
  
  
  try
  {
      $client = new nusoap_client($url);
      $err = $client-&gt;getError();
  if ($err) {
      // Display the error
      echo '&lt;h2&gt;Constructor error&lt;/h2&gt;&lt;pre&gt;' . $err . '&lt;/pre&gt;';
      // At this point, you know the call that follows will fail
  }
      $result = $client-&gt;call('findAllComprobanteOperacion');
  }
  catch (SoapFault $e)
  {
      echo 'Error0'.$e-&gt;getMessage() . "\n";
  }
  
  echo '&lt;pre&gt;';print_r( $result );
  echo $client-&gt;debug_str;
  ?&gt;
  </code></pre>
  
  <p>NuSOAP version: <code>$Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $</code></p>
  
  <p>I've been looking all around the web on how to do this and I'm completely clueless, so any help is really appreciated.
  Thanks in advance.</p>