From:             jfitz at spacelink dot com
Operating system: FreeBSD 6.1
PHP version:      5.2.0
PHP Bug Type:     SOAP related
Bug description:  __doRequest cannot modify XML..

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 bug report at http://bugs.php.net/?id=39738&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39738&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39738&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39738&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39738&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39738&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39738&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39738&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39738&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39738&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39738&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39738&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39738&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39738&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39738&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39738&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39738&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39738&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39738&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39738&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39738&r=mysqlcfg

Reply via email to