my client nusoap not working on php 5

Help
raul
2013-03-21
2013-06-06
  • raul
    raul
    2013-03-21

    but it does in php 4.2.2 correctly.

    im receiving this message at execution:

    farmalog@farmalog-laptop:~/files$ php WTCOFANOxx.php B5002.TXT
    PHP Fatal error:  SoapClient::SoapClient(): Invalid parameters in /home/farmalog/files/WTCOFANOxx.php on line 19
    PHP Fatal error:  Uncaught SoapFault exception: [Client] SoapClient::SoapClient(): Invalid parameters in /home/farmalog/files/WTCOFANOxx.php:19
    Stack trace:
    #0 /home/farmalog/files/WTCOFANOxx.php(19): SoapClient->SoapClient(\'http://217.127....\', true)
    #1 {main}
      thrown in /home/farmalog/files/WTCOFANOxx.php on line 19
    farmalog@farmalog-laptop:~/files$
    

    this is my code:

     
  • raul
    raul
    2013-03-21

     $username="srvweb";
        $password="cof0254";
        $authtype="ntlm";
        $cliente = new soapclient("http://217.127.82.160:5555/swPedidos/SWPedidos.asmx?WSDL",true);
        $cliente->setCredentials($username, $password, $authtype);
    

    This has come due to an upgrade of OS, i was using Centos 3.6 and now its Centos 6.3.
    Im using the last libraries from this page.
    If you want a password u can give it to you to test it.

    Thanks.