Hi @KeKs0r , no ... currently only these
SoapClient.call({
'method' : 'soapMethod2',
//optional namespace for call
'namespace' : 'soapMethod2Namespace',
//optional headers for call
'headers' : {
'Cookie' : 'test'
},
'params' : {
//default
'test' : 2,
//list of items
'test1' : ['item1', 'item2']
//if attributes needed
'test2' : {
'_attributes' : {
'id' : 1
},
'_value' : 'test1data'
}
}
})
but pull requests are welcome ! ;)
'layerCode':'555',
'layerWhere':'',
'xmin':'',
'ymin':'',
'xmax':'',
'ymax':'',
'projection':'',
}
})
.then(function(data, header) {
console.log(data, header);
}, function(err) {
console.log('Error: '+err);
});
(function() {
"use strict";
var easysoap = require('easysoap');
// define soap params
var params = {
host: 'http://www.thomas-bayer.com',
path: '/axis2/services/',
wsdl: '/axis2/services/BLZService?WSDL'
/headers: [{
'name': 'item_name',
'value': 'item_value',
'namespace': 'item_namespace'
}]/
}
console.log("START SOAP TEST");
/*
/*
console.log(functionArray);
}) throw new Error(err);
});/*
console.log(methodParams.request);
console.log(methodParams.response);
}) throw new Error(err);
});/*
method: 'getBank',
attributes: {
xmlns: 'http://thomas-bayer.com/blz/'
},
params: {
blz: '36010424'
}
}) console.log(callResponse.data); // response data as json
console.log(callResponse.body); // response body
console.log(callResponse.header); //response header
}) throw new Error(err);
});})();
@idoivri hi, yes now is see the question ^^
"Unquoted attribute value" means that there are attributes without quotes in the xml,
maybe your empty params !? (could be a possible Bug in easysoap)
can you look into the requestXml ? ( https://github.com/moszeed/easysoap/blob/master/src/request/request.js#L260 )