diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-01-13 17:25:47 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-01-13 17:25:47 +0000 |
commit | bee92aa395c622c4dfe42b100ec58e17b58ab5bf (patch) | |
tree | 09a3a79c58d63519f2ab5a393baacc9946c368e0 | |
parent | 86d0b7a1ed9aac48245190628fdea936a685d5de (diff) | |
download | php-git-bee92aa395c622c4dfe42b100ec58e17b58ab5bf.tar.gz |
WSDL: support for "http://schemas.xmlsoap.org/wsdl/soap12/" binding was added
-rw-r--r-- | ext/soap/php_encoding.h | 2 | ||||
-rw-r--r-- | ext/soap/php_sdl.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/soap/php_encoding.h b/ext/soap/php_encoding.h index 5c5e177e56..c71c2b2155 100644 --- a/ext/soap/php_encoding.h +++ b/ext/soap/php_encoding.h @@ -124,6 +124,8 @@ #define WSDL_SOAP_NAMESPACE "http://schemas.xmlsoap.org/wsdl/soap/" #define WSDL_SOAP_NS_PREFIX "wsdlSoap" +#define WSDL_SOAP12_NAMESPACE "http://schemas.xmlsoap.org/wsdl/soap12/" + #define WSDL_HTTP_NAMESPACE "http://schemas.xmlsoap.org/wsdl/http/" #define WSDL_HTTP_NS_PREFIX "http" diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index f73001eccf..bd91028231 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -638,6 +638,8 @@ static sdlPtr load_wsdl(char *struri) if (address->ns && !strcmp(address->ns->href, WSDL_SOAP_NAMESPACE)) { tmpbinding->bindingType = BINDING_SOAP; + } else if (address->ns && !strcmp(address->ns->href, WSDL_SOAP12_NAMESPACE)) { + tmpbinding->bindingType = BINDING_SOAP; } else if (address->ns && !strcmp(address->ns->href, WSDL_HTTP_NAMESPACE)) { tmpbinding->bindingType = BINDING_HTTP; } else { |