PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » SOAP » Bug #8401

Use response_encoding when returning faults

Details

Request #8401Use response_encoding when returning faults
Submitted2006-08-09 17:16 UTC
Frommarcos dot pont at gmail dot com
Assignedyunosh
StatusClosed
PackageSOAP
PHP VersionAny
OSAny
Roadmaps(Not assigned)

Comments

[2006-08-09 17:16 UTC] marcos dot pont at gmail dot com

Description:
------------
It would be great if SOAP_Server could use $this->response_encoding when calling SOAP_Fault's message() method, inside SOAP_Server->errorHandler.

I've changed SOAP_Server at line 260 to call:

line 260: $response = $this->fault->message($this->response_encoding);

I've changed SOAP_Fault at lines 65 and 80:

line 65: function message($encoding=SOAP_DEFAULT_ENCODING)

line 80: return $msg->_makeEnvelope($methodValue, $headers, $encoding);

Thank you very much.

[2006-08-09 17:18 UTC] marcos dot pont at gmail dot com

Changed PHP version and OS version to "Any", because the feature request doesn't depend on any platform or OS version