0.0.1 • Published 10 years ago

co-soap v0.0.1

Weekly downloads
249
License
MIT
Repository
github
Last release
10 years ago

Build Status Coverage Status NPM version

#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

0.0.1

10 years ago