diff options
author | Dmitry Stogov <dmitry@php.net> | 2010-05-28 10:52:16 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2010-05-28 10:52:16 +0000 |
commit | 5f678b58e6956d79a59570bfd8312a8ed5ea6443 (patch) | |
tree | 377479dce68ad52942f5d96743e4065067d7c092 /ext/soap/soap.c | |
parent | 49d74ebc6e75a6c8e175f72ab02db087710b6375 (diff) | |
download | php-git-5f678b58e6956d79a59570bfd8312a8ed5ea6443.tar.gz |
Fixed bug #50762 (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)
Diffstat (limited to 'ext/soap/soap.c')
-rw-r--r-- | ext/soap/soap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 934407363f..02e75505cc 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1874,6 +1874,7 @@ PHP_METHOD(SoapServer, handle) soapHeader *h = header; header = header->next; +#if 0 if (service->sdl && !h->function && !h->hdr) { if (h->mustUnderstand) { soap_server_fault("MustUnderstand","Header not understood", NULL, NULL, NULL TSRMLS_CC); @@ -1881,7 +1882,7 @@ PHP_METHOD(SoapServer, handle) continue; } } - +#endif fn_name = estrndup(Z_STRVAL(h->function_name),Z_STRLEN(h->function_name)); if (zend_hash_exists(function_table, php_strtolower(fn_name, Z_STRLEN(h->function_name)), Z_STRLEN(h->function_name) + 1) || ((service->type == SOAP_CLASS || service->type == SOAP_OBJECT) && |