0
我想用这个项目https://github.com/vpulim/node-soap消耗SOAP服务器,我已经PFX文件进行身份验证,但是当我这样做:SOAP的NodeJS PFX
VAR肥皂=需要(“皂”); var fs = require('fs');
var url = 'https://service.com/method.asmx?WSDL';
soap.createClient(url, {wsdl_options: {rejectUnauthorized: false, pfx: fs.readFileSync('C:/file.pfx'), strictSSL: false, passphrase: 'passwor'} },
function(err, client) {
var args = { name: 'stack' };
client.test(args, function (err, result, body) {
console.log(err);
console.log(result);
console.log(body);
});
});
客户端被创建,发现我的方法,但是当我打电话时,我收到403,我能做什么错?