PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » SOAP » Bug #6857

https not populating __outgoing_payload

Details

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

Comments

[2006-02-21 17:41 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