ID: 39738 Updated by: [EMAIL PROTECTED] Reported By: jfitz at spacelink dot com -Status: Assigned +Status: Bogus Bug Type: SOAP related Operating System: FreeBSD 6.1 PHP Version: 5.2.0 Assigned To: dmitry New Comment:
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(). Previous Comments: ------------------------------------------------------------------------ [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