soap-as-promised-fork
Convert all soap methods to promises. Inspired by soap-q.
Last updated 4 years ago by mbhasin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install soap-as-promised-fork 
SYNC missed versions from official npm registry.

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}"

Current Tags

  • 1.0.4                                ...           latest (4 years ago)

3 Versions

  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |