Skip to content

anilanar/co-soap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

co friendly soap client

Resources

License

Stars

Watchers

Forks

Packages

No packages published