]> granicus.if.org Git - php/commitdiff
Fixed bug #29842 (soapclient return null value)
authorDmitry Stogov <dmitry@php.net>
Fri, 27 Aug 2004 07:06:07 +0000 (07:06 +0000)
committerDmitry Stogov <dmitry@php.net>
Fri, 27 Aug 2004 07:06:07 +0000 (07:06 +0000)
NEWS
ext/soap/php_packet_soap.c

diff --git a/NEWS b/NEWS
index f050a51039eabcf2fcb734de7ffb9f27f527fa50..c7693c7aa681a74d3652894f6d6fce79fe9d9157 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ PHP                                                                        NEWS
 - Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
 - Fixed bug #29844 (SOAP doesn't return the result of a valid SOAP request).
   (Dmitry)
+- Fixed bug #29842 (soapclient return null value). (Dmitry)
 - Fixed bug #29839 (incorrect convert (xml:lang to lang)). (Dmitry)
 - Fixed bug #29830 (SoapServer::setClass() should not export non-public
   methods). (Dmitry)
index e9cdd47dbc725c2e662da475ffa27f115476af3d..2b781e868efa3fd721e0c7fd07e880ae045a3530 100644 (file)
@@ -251,8 +251,12 @@ int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunction
                                        param = (*h_param);
                                        if (fnb->style == SOAP_DOCUMENT) {
                                                if (param->element) {
+                                                       name = param->element->name;
+                                                       ns = param->element->namens;
+/*
                                                        name = param->encode->details.type_str;
                                                        ns = param->encode->details.ns;
+*/
                                                } else {
                                                        name = param->paramName;
                                                }