From: Dmitry Stogov Date: Fri, 27 Aug 2004 07:06:07 +0000 (+0000) Subject: Fixed bug #29842 (soapclient return null value) X-Git-Tag: php-5.0.2RC1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92689ec8e0ee5b1db9acafb60103cbec0ee8d256;p=php Fixed bug #29842 (soapclient return null value) --- diff --git a/NEWS b/NEWS index f050a51039..c7693c7aa6 100644 --- 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) diff --git a/ext/soap/php_packet_soap.c b/ext/soap/php_packet_soap.c index e9cdd47dbc..2b781e868e 100644 --- a/ext/soap/php_packet_soap.c +++ b/ext/soap/php_packet_soap.c @@ -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; }