Created
June 29, 2011 15:27
-
-
Save schamane/1054088 to your computer and use it in GitHub Desktop.
node-soap bindings transport patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/wsdl.js b/lib/wsdl.js | |
| index 63da2d9..a827ba9 100644 | |
| --- a/lib/wsdl.js | |
| +++ b/lib/wsdl.js | |
| @@ -366,7 +366,8 @@ DefinitionsElement.prototype.addChild = function(child) { | |
| self.portTypes[child.$name] = child; | |
| } | |
| else if (child instanceof BindingElement) { | |
| - if (child.transport === 'http://schemas.xmlsoap.org/soap/http') | |
| + if (child.transport === 'http://schemas.xmlsoap.org/soap/http' || | |
| + child.transport === 'http://www.w3.org/2003/05/soap/bindings/HTTP/') | |
| self.bindings[child.$name] = child; | |
| } | |
| else if (child instanceof ServiceElement) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment