dmitry          Tue Dec 14 08:58:19 2004 EDT

  Added files:                 (Branch: PHP_5_0)
    /php-src/ext/soap/tests/bugs        bug30994.phpt 

  Modified files:              
    /php-src    NEWS 
    /php-src/ext/soap   soap.c 
  Log:
  Fixed bug #30994 (SOAP server unable to handle request with references).
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.155&r2=1.1760.2.156&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1760.2.155 php-src/NEWS:1.1760.2.156
--- php-src/NEWS:1.1760.2.155   Mon Dec 13 19:38:34 2004
+++ php-src/NEWS        Tue Dec 14 08:58:12 2004
@@ -9,6 +9,8 @@
 - Fixed potential problems with unserializing invalid serialize data. (Marcus)
 - Fixed bug #31034 (Problem with non-existing iconv header file). (Derick)
 - Fixed bug #30995 (snmp extension does not build with net-snmp 5.2). (Ilia)
+- Fixed bug #30994 (SOAP server unable to handle request with references).
+  (Dmitry)
 - Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag). (Ilia)
 - Fixed bug #30967 (properties in extended mysqli classes don't work). (Georg)
 - Fixed bug #30928 (When Using WSDL, SoapServer doesn't handle private or
http://cvs.php.net/diff.php/php-src/ext/soap/soap.c?r1=1.110.2.13&r2=1.110.2.14&ty=u
Index: php-src/ext/soap/soap.c
diff -u php-src/ext/soap/soap.c:1.110.2.13 php-src/ext/soap/soap.c:1.110.2.14
--- php-src/ext/soap/soap.c:1.110.2.13  Tue Nov 16 16:04:27 2004
+++ php-src/ext/soap/soap.c     Tue Dec 14 08:58:18 2004
@@ -17,7 +17,7 @@
   |          Dmitry Stogov <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
 */
-/* $Id: soap.c,v 1.110.2.13 2004/11/16 21:04:27 iliaa Exp $ */
+/* $Id: soap.c,v 1.110.2.14 2004/12/14 13:58:18 dmitry Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -2800,10 +2800,13 @@
        trav = body->children;
        while (trav != NULL) {
                if (trav->type == XML_ELEMENT_NODE) {
+/*
                        if (func != NULL) {
                                soap_server_fault("Client", "looks like we got 
\"Body\" with several functions call", NULL, NULL, NULL TSRMLS_CC);
                        }
+*/
                        func = trav;
+                       break; /* FIXME: the rest of body is ignored */
                }
                trav = trav->next;
        }

http://cvs.php.net/co.php/php-src/ext/soap/tests/bugs/bug30994.phpt?r=1.1&p=1
Index: php-src/ext/soap/tests/bugs/bug30994.phpt
+++ php-src/ext/soap/tests/bugs/bug30994.phpt

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to