Index: Transport/HTTP.php =================================================================== RCS file: /repository/pear/SOAP/Transport/HTTP.php,v retrieving revision 1.35 diff -u -u -r1.35 HTTP.php --- Transport/HTTP.php 1 Jul 2003 19:05:26 -0000 1.35 +++ Transport/HTTP.php 18 Jul 2003 12:46:32 -0000 @@ -344,8 +344,16 @@ list($protocol, $code) = sscanf($this->result_headers[0], '%s %s'); unset($this->result_headers[0]); if ($code >= 400 && $code < 500) { - $this->_raiseSoapFault("HTTP Response $code Not Found"); - return FALSE; + if($code == 401) { + $this->_raiseSoapFault("HTTP Response $code Authentication Failed"); + return FALSE; + } + if($code == 404) { + $this->_raiseSoapFault("HTTP Response $code Not Found"); + return FALSE; + } + $this->_raiseSoapFault("HTTP Response $code (other error)"); + return FALSE; } $this->_parseEncoding($match[1]); if ($this->result_content_type == 'application/dime') { @@ -470,6 +478,7 @@ fclose($fp); + error_log($this->incoming_payload); if (!$this->_parseResponse()) { return $this->fault; }