Reputation: 9465
So I'm wanting to authenticate my SOAP web service with basic HTTP Authentication. I've searched the internet and all I find is...
$soapAuthArray = Array('login' => 'user',
'password' => 'test) ;
$client = new SoapClient("http://localhost/test/ws/cow.wsdl", $soapAuthArray);
Great... so I know how to pass a user and password, but how do I do something with it?
I've created my own wsdl file, server, and client. Everything is currently working without authentication.
Thanks. j.
Upvotes: 1
Views: 2323