I'm trying to set up a SOAP service using Zend_Soap_Server. (ZF1)
My problem is that the WSDL URI is password protected. It can be accessed by setting 'https://username:password@wsdl.uri' as the URI, but the username and password are different for the development and live versions of the application.
I've tried setting the login and password with $soapServer->setOptions(array('login'=>$login, 'password'=>$password));
but nothing happens.
How can I achieve this? (if it's possible)
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
The documentation of the
SoapClient
doesn't mention username and password authentication (htpasswd), so I assume that this type of authentication is not possible.