soap-as-promised-fork

1.0.4 • Public • Published

soap-as-promised

Convert all node-soap methods to promises. Inspired by soap-q, but it doesn't add the Q suffix to methods, the client has the same interface as exposed by the original soap module.

Installation

npm install soap-as-promised

Usage

soap = require 'soap-as-promised'
 
soap.createClient 'http://example.org/wsdl'
    .then (client) -> client.myAwesomeSoapMethod param: true
    .then (result) -> console.log "The result was: #{result}"
    .catch (error) -> console.error "There was an error! #{error}"

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    2
  • 1.0.3
    1
  • 1.0.2
    0

Package Sidebar

Install

npm i soap-as-promised-fork

Weekly Downloads

3

Version

1.0.4

License

MIT

Last publish

Collaborators

  • mbhasin