I’m communicating with a SOAP webservice using PHP and I’m having trouble.
// Create SOAP client object
$objClient = new SoapClient("https://panopto_host/Panopto/PublicAPI/4.0/Auth.svc?wsdl", array('trace' => true));
// These parameters satisfy this specific remote call.
$loginParams = array('userKey' => 'cmjw', 'password' => 'bleh');
$objLogin = $objClient->LogOnWithPassword($loginParams);
The error I get is “All authentication must be done over SSL“. I don’t know if this a server application error message, or a standard SOAP error, but the wierd thing is that I created very simple program in .Net, creating a service reference to generate a proxy class, and it works fine.
What am I missing with PHP to make the method call use SSL?
Thanks for any advice.
Corey.
If the service URL in the WSDL is an HTTP URL then even though the WSDL is downloaded over HTTPS the request might be made over HTTP.