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 #6859

https not populating __outgoing_payload

Details

Submitted2006-02-21 18:10 UTC
Frombkirkby at omniture dot com
Assignedyunosh
StatusBogus
PackageSOAP
PHP Version4.3.9
OSlinux
Roadmaps(Not assigned)

Comments

[2006-02-21 18:10 UTC] bkirkby at omniture dot com

Description:
------------
When you use the HTTPS option of the HTTP transport, the trace function does not output the outgoing xml because _getRequest is never called. I needed to have access to outgoing data for debug purposes so i creted the attached patch to populate this variable.

Test script:
---------------
patch applied to HTTP.php:

538a539,544
> // patch: bk: omniture
> // this is here only to populate $this->__outgoing_payload
> // for debugging purposes as the actualy data is sent
> // different from the sendHTTP method
> $this->_getRequest($msg, $options);
>

Expected result:
----------------
adds a line to HTTP.php in the HTTPS send function that calls _getRequest in order to populate __outgoing_payload

Actual result:
--------------
.