Permalink
Browse files

Merge pull request #100 from yuriykashin/master

use soapAction from WSDL
  • Loading branch information...
2 parents 8c10fa4 + 94fc6b5 commit 4a3b5c51949a26e8e98b0f15667a241f39de5f43 @milewise milewise committed Oct 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/client.js
View
@@ -98,7 +98,7 @@ Client.prototype._invoke = function(method, arguments, location, callback) {
message = '',
xml = null,
headers = {
- SOAPAction: this.SOAPAction ? this.SOAPAction(ns, name) : (((ns.lastIndexOf("/") != ns.length - 1) ? ns + "/" : ns) + name),
+ SOAPAction: '"' + method.soapAction + '"',
'Content-Type': "text/xml; charset=utf-8"
},
options = {},

0 comments on commit 4a3b5c5

Please sign in to comment.