loopbackio / loopbackio/strong-soap
SSL check not getting disabled while invoking operation
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 410
- Forks
- 162
- Avg merge
- 4h 36m
- Merged PRs (30d)
- 7
Description
# Description/Steps to reproduce
I am trying to ignore ssl negotiation while making soap request and it is working fine while querying WSDL and but failing while invoking operation
No SSL error
```
var options = { rejectUnauthorized: false };
soap.createClient(url, options, function(err, client) {
}
```
SSL error
```
client.setSecurity(new soap.ClientSSLSecurity(
'/path/to/key'
, '/path/to/cert'
, {rejectUnauthorized: false,
strictSSL: false}
));
var method = client['StockQuote']['StockQuoteSoap']['GetQuote'];
method(requestArgs, function(err, result,)
```
# Expected result
Ignore SSL check
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the SOAP request with soap.createClient, ClientSSLSecurity, and the StockQuote GetQuote operation shown in the report. Compare SSL handling during WSDL loading with operation invocation; done means the operation succeeds with rejectUnauthorized and strictSSL disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100