|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #28041 SOAP HTTP Digest Access Authentication
Submitted: 2004-04-17 20:04 UTC Modified: 2005-01-25 12:05 UTC
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:2 (50.0%)
From: david at cubbieco dot com Assigned: dmitry (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5CVS-2004-04-17 (dev) OS: linux 2.6.3
Private report: No CVE-ID: None
 [2004-04-17 20:04 UTC] david at cubbieco dot com
PHP soap is wonderful and feature rich.  The application I am writing needs to be able to log into the SOAP server provided by Zap2it (  I found a post from dmitry that HTTP Digest Access Authentication was not yet implemented.

I appreciate all of the work.  I would like to be notified when this is implemented.

Reproduce code:
$login = "login";
$password = "password";

$client = new SoapClient('', array('trace'=>1, 'exceptions'=>0, 
	'login' => $login, 'password' => $password));
echo "<hr>";
$listings = $client->__call("download", array("startTime"=>"20040417 20:00:00 ", "endTime"=>"20040417 21:00:00"));

echo $listings;
echo "<br>Request:<br> ".htmlspecialchars($client->__getLastRequest()) ."<br>Response:<br>".htmlspecialchars($client->__getLastResponse())."\n";

Expected result:
$listings to contain a downloaded XML string

Actual result:
SoapFault exception: [SOAP-ENV:VersionMismatch] Wrong Version in /home/david/peevo/zap2it.php:12 Stack trace: #0 {main}
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:ns1="urn:TMSWebServices" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC="" SOAP-ENV:encodingStyle=""><SOAP-ENV:Body><ns1:download><startTime xsi:type="ns1:dateTime">20040417 20:00:00 </startTime><endTime xsi:type="ns1:dateTime">20040417 21:00:00</endTime></ns1:download></SOAP-ENV:Body></SOAP-ENV:Envelope>
<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD><BODY><H1>401 Unauthorized</H1></BODY></HTML>


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-18 01:00 UTC]
Assigning to dmitry then.
 [2005-01-25 12:05 UTC]
HTTP Digest Access Authentication is implemented in CVS (PHP_5_0 and HEAD). 

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Sep 18 21:01:25 2020 UTC