Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
w666 authored May 1, 2024
2 parents 5d7d6e8 + 4972946 commit 3f71c89
Show file tree
Hide file tree
Showing 18 changed files with 401 additions and 129 deletions.
13 changes: 13 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
1.0.2 / 2024-04-29
===================
* [ENHANCEMENT] Preserves leading and trailing whitespace when preserveWhitespace option is true (#1211)
* [ENHANCEMENT] Improve trim speed during XML parsing (#1216)
* [FIX] Change axios back as a dependency, bump axios to 1.6.8 (#1237)
* [FIX] Update proxy example in docs (#1220)
* [FIX] Add missing closing bracket in docs example (#1214)

1.0.1 / 2024-04-18
===================
* [FIX] Upgrade axios to 1.6.1 and axios-ntlm to 1.4.2 (#1212)
* [FIX] Fix build in Node.js 18 by re-encrypting test key (#1206)

1.0.0 / 2022-12-09
===================
* [ENHANCEMENT] allow soap.createClient to create a new SOAP client from a WSDL string (#1191)
Expand Down
13 changes: 12 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,17 @@ You must specify all of the namespaces and namespace prefixes yourself. The ele
``` javascript
client.MyService.MyPort.MyFunction({name: 'value'}, function(err, result) {
// client.lastElapsedTime - the elapsed time of the last request in milliseconds
}, {proxy: 'http://localhost:8888'})
}, {
proxy: {
protocol: 'https',
host: '127.0.0.1',
port: 9000,
auth: {
username: 'mikeymike',
password: 'rapunz3l'
}
}
})
```

- You can modify xml (string) before call:
Expand Down Expand Up @@ -917,6 +927,7 @@ WS-Security X509 Certificate support.
existingPrefixes: {
wsse: 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd',
}
}
}
var wsSecurity = new soap.WSSecurityCert(privateKey, publicKey, password, options);
client.setSecurity(wsSecurity);
Expand Down
Loading

0 comments on commit 3f71c89

Please sign in to comment.