Browse files

Merge branch 'master' of https://github.com/kylestetz/node-soap

  • Loading branch information...
2 parents 194da1c + 83f3567 commit 5260078d2aee163249b015bf9638db205cf5440e @alanbly alanbly committed Mar 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/wsdl.js
View
4 lib/wsdl.js
@@ -857,14 +857,14 @@ WSDL.prototype.objectToXML = function(obj, name, namespace, xmlns) {
parts.push(['</',ns,name,'>'].join(''));
parts.push(['<',ns,name,xmlnsAttrib,'>'].join(''));
}
- parts.push(self.objectToXML(item, name));
+ parts.push(self.objectToXML(item, name, namespace, xmlns));
}
}
else if (typeof obj === 'object') {
for (var name in obj) {
var child = obj[name];
parts.push(['<',ns,name,xmlnsAttrib,'>'].join(''));
- parts.push(self.objectToXML(child, name));
+ parts.push(self.objectToXML(child, name, namespace, xmlns));
parts.push(['</',ns,name,'>'].join(''));
}
}

0 comments on commit 5260078

Please sign in to comment.