Home » Web Services » SOAP » Bug #6859
https not populating __outgoing_payload
Details
| Submitted | 2006-02-21 18:10 UTC |
|---|---|
| From | bkirkby at omniture dot com |
| Assigned | yunosh |
| Status | Bogus |
| Package | SOAP |
| PHP Version | 4.3.9 |
| OS | linux |
| 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:
--------------
.