Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

NTLM Authentication

lacinio
2006-12-14
2013-06-06
  • lacinio
    lacinio
    2006-12-14

    Hi,
    I wrote code client to call a .NET Web Service. The Web Service is NTML-protected. It seems that nuSoap does not support this kind of authentication... so how can I call the web service?

    Thanks in advance,
    Lacinio

     
    • senthilraj
      senthilraj
      2008-01-07

      I am too facing this problem when i try to connect to sharepoint portal..  Any solution is eagerly awaited.

       
      • lacinio
        lacinio
        2008-01-07

        Hi,
        download the lastest version of nusoap.php directly from CVS repository. It includes NTLM auth.

        Bye

         
    • Hi, I have downloaded the latest version, but I still can't figure out how to do the NTLM authentication, as setting credentials or giving the curl options doesn't seem to make the trick.

      Could someone provide me an example??

      Thank you very much.

       
    • Jonathan Hohle
      Jonathan Hohle
      2008-08-14

      $soap_client = new nusoap_client($wsdl, true);

      $this->soap_client->setCredentials(
          $username,
          $password,
          'ntlm');