Comparing version 0.11.0 to 0.11.1
@@ -0,1 +1,9 @@ | ||
0.11.1 / 2015-12-15 | ||
================= | ||
* [ENHANCEMENT] Adding ClientSSLSecurityPFX for use in requests (#768) | ||
* [FIX] Remove SOAPAction http header in SOAP 1.2, extra header was causing some servers to trip. (#775) | ||
* [FIX] When an error occur, send HTTP 500 status code. (#774) | ||
* [FIX] Fixed issue when an error was undefined: undefined. (#771) | ||
* [FIX] Add missing type attribute for PasswordText in WSSecurity and update related tests. (#754) | ||
0.11.0 / 2015-10-31 | ||
@@ -2,0 +10,0 @@ ================= |
@@ -182,3 +182,5 @@ /* | ||
headers.SOAPAction = '"' + soapAction + '"'; | ||
if (!this.wsdl.options.forceSoap12Headers) { | ||
headers.SOAPAction = '"' + soapAction + '"'; | ||
} | ||
@@ -185,0 +187,0 @@ options = options || {}; |
@@ -6,4 +6,5 @@ "use strict"; | ||
, ClientSSLSecurity: require('./ClientSSLSecurity') | ||
, ClientSSLSecurityPFX: require('./ClientSSLSecurityPFX') | ||
, WSSecurity: require('./WSSecurity') | ||
, BearerSecurity: require('./BearerSecurity') | ||
}; |
@@ -51,3 +51,3 @@ "use strict"; | ||
if(this._passwordType === 'PasswordText') { | ||
password = "<wsse:Password>" + this._password + "</wsse:Password>"; | ||
password = "<wsse:Password Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">" + this._password + "</wsse:Password>"; | ||
} else { | ||
@@ -54,0 +54,0 @@ // nonce = base64 ( sha1 ( created + random ) ) |
@@ -131,2 +131,3 @@ /* | ||
error = err.stack || err; | ||
res.statusCode = 500; | ||
res.write(error); | ||
@@ -133,0 +134,0 @@ res.end(); |
@@ -73,2 +73,3 @@ /* | ||
exports.ClientSSLSecurity = security.ClientSSLSecurity; | ||
exports.ClientSSLSecurityPFX = security.ClientSSLSecurityPFX; | ||
exports.BearerSecurity = security.BearerSecurity; | ||
@@ -75,0 +76,0 @@ exports.createClient = createClient; |
@@ -1421,5 +1421,5 @@ /* | ||
if (body.Fault) { | ||
var code = selectn('faultcode.$value', body.Fault); | ||
var string = selectn('faultstring.$value', body.Fault); | ||
var detail = selectn('detail.$value', body.Fault); | ||
var code = selectn('faultcode.$value', body.Fault) || selectn('faultcode', body.Fault); | ||
var string = selectn('faultstring.$value', body.Fault) || selectn('faultstring', body.Fault); | ||
var detail = selectn('detail.$value', body.Fault) || selectn('detail.message', body.Fault); | ||
var error = new Error(code + ': ' + string + (detail ? ': ' + detail : '')); | ||
@@ -1426,0 +1426,0 @@ error.root = root; |
{ | ||
"name": "soap", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "A minimal node SOAP client", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145013
25
3146
3
2