co-soap
v0.0.1
Published
co friendly soap client
Downloads
2
Readme
#co-soap
co friendly wrapper around Soap client.
Disclaimer
Soap is far from being bug free and it is not well maintained. If you encounter bugs/problems, you are welcome to report them here. However it is highly recommended that you check [Soap issues]((https://github.com/vpulim/node-soap/issues) beforehand if there are issues similar to yours. co-soap will not be endeavouring to fix bugs related to Soap.
Installation
$ npm install co-soap
Example
var cosoap = require('co-soap'),
co = require('co');
co(function* (){
var client = yield cosoap.createClient('http://www.dneonline.com/calculator.asmx?WSDL');
var response = yield client.Add({intA: 5, intB: 10});
// prints 15
console.log(response.AddResult);
})();
API
Please see Soap Github page for API details.
License
MIT