ID: 39738 User updated by: jfitz at spacelink dot com Reported By: jfitz at spacelink dot com Status: Bogus Bug Type: SOAP related Operating System: FreeBSD 6.1 PHP Version: 5.2.0 Assigned To: dmitry New Comment:
Yes, this bug should be closed. Modification in __doRequest is OK. I was mislead by taking output of __getLastRequest to be accurate representation of final transmission to the server. Unfortunately monitoring server could not easily be accomplished - its not under our control and uses SSL so __getLastRequest is all I had to go on. :( Perhaps __getLastRequest should be bugged for update in future so its information is stored just prior to transmission? Previous Comments: ------------------------------------------------------------------------ [2006-12-05 15:17:10] [EMAIL PROTECTED] I cannot reproduce the bug. SoapServer gets modified XML fine. Please provise full example. Note that trace returned by __getLastRequest() is stored before call to __doRequest(), so modification inside __doRequest() is not visible through __getLastRequest(). ------------------------------------------------------------------------ [2006-12-05 01:23:55] jfitz at spacelink dot com Description: ------------ I am attempting to massage XML before transmission in the __doRequest method of SoapClient. I have made modifications here but PHP does not seem to be using my modified version. XML that is sent is not the XML I have modified but rather the XML as it existed prior to my modification. This is the PHP config.nice. #! /bin/sh # # Created by configure './configure' \ '--with-apache=../apache_1.3.37' \ '--enable-track-vars' \ '--with-dom' \ '--with-zlib' \ '--with-gettext' \ '--with-xmlrpc' \ '--with-soap' \ '--enable-soap' \ '--with-openssl' \ "$@" Reproduce code: --------------- Code looks, in brief, like this: ss mySoap extends SoapClient { function __doRequest($request, $location, $saction, $version) { <..modify $request here..> return parent::__doRequest($request, $location, $saction, $version); } Expected result: ---------------- Expect the transmitted XML to incorporate the edits I made in the __doRequest member. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39738&edit=1