simple-soap

1.0.0 • Public • Published

simple-soap

Build Status npm version License

Simplified soap client

const simpleSoap = require('simple-soap')
const config = {
  url: 'https://example.com/soap/server',
  username: 'test',
  password: 'test',
  method: 'Method'
}
simpleSoap(config)
  .then(res => console.log(res))
  .catch(err => console.error(err))

Wrapper over the node-soap client using a promise interface.

Installation

npm install --save simple-soap

Usage

simpleSoap(config[, params])

config

Configuration object. Required properties:

  • url: SOAP endpoint
  • username: Basic auth username
  • password: Basic auth password
  • method: SOAP action/method

Optional properties:

params

Optional object of params to passed to the method call.

Author

© 2016 Tom Vincent git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i simple-soap

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tlvince