| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2004-04-02 00:27 UTC] dmitry@php.net
  [2004-04-02 04:57 UTC] mikx at mikx dot de
  [2004-04-07 04:48 UTC] sniper@php.net
  [2004-04-12 17:55 UTC] sniper@php.net
  [2004-08-05 15:32 UTC] technique at kaiman dot fr
  [2005-04-12 14:33 UTC] lobbin at localhost dot nu
  [2006-05-19 09:01 UTC] peter at adkins dot nl
  [2007-04-05 15:21 UTC] jgarcia at tdg-i dot com
  [2008-06-19 14:16 UTC] trippinbilly25 at gmail dot com
  [2009-05-07 13:32 UTC] Christian dot Reingruber at gmail dot com
  [2010-01-29 21:38 UTC] eric dot caron at gmail dot com
  [2010-11-15 16:56 UTC] oliver at teqneers dot de
  [2011-10-20 00:37 UTC] dewes at pop dot com dot br
  [2012-06-13 09:00 UTC] oliver at mojofuel dot com
  [2013-02-28 08:57 UTC] stephan dot schulze at kapthon dot com
  [2013-03-31 13:29 UTC] roeycohen at gmail dot com
  [2016-01-08 13:31 UTC] div at mail172 dot de
  | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 08:00:01 2025 UTC | 
Description: ------------ When using basic authentication the soap client does not authenticate itself automaticly using the options array. You need to add the login and password in the uri. Reproduce code: --------------- _NOT working_ $client = new SoapClient("http://foo.com/bar.wsdl", array( "login" => "yourLogin", "password" => "yourPassword")); _working_ $client = new SoapClient("http://yourLogin:yourPassword@foo.com/bar.wsdl"); Expected result: ---------------- The SOAP client should take the login and password from the options array and automaticly authenticate itself.