diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-05-15 16:21:13 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-05-15 16:21:13 +0400 |
commit | 40a8156966542e35d77679dda374217ba25b3c36 (patch) | |
tree | 81190be13ab016bceb211d472a2d08dd249023e9 /ext/soap/php_sdl.c | |
parent | 3e131b41b2fc3a19e30c66415316d9035bd79b8d (diff) | |
download | php-git-40a8156966542e35d77679dda374217ba25b3c36.tar.gz |
Fixed WSDL parsing
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r-- | ext/soap/php_sdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index ff98fae696..faafdecee7 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -446,7 +446,7 @@ static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include static sdlSoapBindingFunctionHeaderPtr wsdl_soap_binding_header(sdlCtx* ctx, xmlNodePtr header, char* wsdl_soap_namespace, int fault) { xmlAttrPtr tmp; - xmlNodePtr *message, part; + xmlNodePtr message, part; char *ctype; sdlSoapBindingFunctionHeaderPtr h; @@ -469,7 +469,7 @@ static sdlSoapBindingFunctionHeaderPtr wsdl_soap_binding_header(sdlCtx* ctx, xml if (!tmp) { soap_error0(E_ERROR, "Parsing WSDL: Missing part attribute for <header>"); } - part = get_node_with_attribute_ex((*message)->children, "part", WSDL_NAMESPACE, "name", (char*)tmp->children->content, NULL); + part = get_node_with_attribute_ex(message->children, "part", WSDL_NAMESPACE, "name", (char*)tmp->children->content, NULL); if (!part) { soap_error1(E_ERROR, "Parsing WSDL: Missing part '%s' in <message>", tmp->children->content); } |