#27777 [Opn]: basic authentication broken

2004-04-02 Thread mikx at mikx dot de
 ID:   2
 User updated by:  mikx at mikx dot de
 Reported By:  mikx at mikx dot de
 Status:   Open
 Bug Type: SOAP related
 Operating System: Windows XP Pro
 PHP Version:  5.0.0RC1
 New Comment:

At the momenten i have no non-wsdl demo case available, but it seems
soap requests are working fine. 



If i remove the login/password from the options array i can only call
__getFunctions() but none of the functions reported by it. I think that
means i have got the wsdl file through uri authentication but the soap
calls fail.



After adding the login/password also to the options array i can call
both __getFuntions() and testFunction() - a hello world testcase.
Therefore adding login/password in the array seems to work like
expected.


Previous Comments:


[2004-04-02 00:27:18] [EMAIL PROTECTED]

Authentication should work for SOAP requests, but it is not working
during requesting of WSDL file (not implemented).



Do you have problem only with WSDL loading or with SOAP requests too?



[2004-03-30 08:33:57] mikx at mikx dot de

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:[EMAIL PROTECTED]/bar.wsdl);









Expected result:

The SOAP client should take the login and password from the options
array and automaticly authenticate itself.






-- 
Edit this bug report at http://bugs.php.net/?id=2edit=1


#27777 [Opn]: basic authentication broken

2004-04-01 Thread dmitry
 ID:   2
 Updated by:   [EMAIL PROTECTED]
 Reported By:  mikx at mikx dot de
 Status:   Open
 Bug Type: SOAP related
 Operating System: Windows XP Pro
 PHP Version:  5.0.0RC1
 New Comment:

Authentication should work for SOAP requests, but it is not working
during requesting of WSDL file (not implemented).



Do you have problem only with WSDL loading or with SOAP requests too?


Previous Comments:


[2004-03-30 08:33:57] mikx at mikx dot de

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:[EMAIL PROTECTED]/bar.wsdl);









Expected result:

The SOAP client should take the login and password from the options
array and automaticly authenticate itself.






-- 
Edit this bug report at http://bugs.php.net/?id=2edit=1