尝试在wsdl服务器上进行基本身份验证时。我收到错误403无效的wsdl网址消息。该如何解决?
var soap = require('soap');
var url = 'https://servis.turkiye.gov.tr/services/g2g/kdgm/test/uetdsarizi?wsdl';
var auth = "Basic " + new Buffer("myusername" + ":" + "mypass").toString("base64");
soap.createClient(url, { wsdl_headers: {Authorization: auth} }, function(err, client) {
});