# node-soap-client

> SOAP client library

Latest version **0.1.0** (published 2011-10-18) · 0 weekly downloads

## Install

```sh
npm install node-soap-client
pnpm add node-soap-client
yarn add node-soap-client
bun add node-soap-client
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2011-10-18 |
| First published | 2011-09-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.4.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Pavel Minchenkov |
| Maintainers | minchenkov |
| Keywords | soap, wsdl, web-services |

## Links

- npm: https://www.npmjs.com/package/node-soap-client
- Repository: https://github.com/minchenkov/node-soap-client
- npm.io page: https://npm.io/package/node-soap-client

## Dependencies (3)

- [request](https://npm.io/package/request.md) 2.1.1
- [dom-js-ns](https://npm.io/package/dom-js-ns.md) 0.0.3
- [simple-xml-writer](https://npm.io/package/simple-xml-writer.md) 0.0.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2011-10-18
- 0.0.9 — 2011-10-12
- 0.0.8 — 2011-10-12
- 0.0.7 — 2011-10-12
- 0.0.6 — 2011-10-11
- 0.0.5 — 2011-09-26
- 0.0.4 — 2011-09-25
- 0.0.3 — 2011-09-25
- 0.0.2 — 2011-09-18
- 0.0.1 — 2011-09-15

## README

# node-soap-client

SOAP client library for NodeJS.

## Install
    npm install node-soap-client

## Examples

    var SoapClient = require('node-soap-client').SoapClient;

    new SoapClient({wsdl: 'http://api.metabus.ru/0.0.1/ws/SearchingModule?WSDL'}).init(function(err, metabus) {
        var searchingModule = new metabus.SearchingModule();

        searchingModule.search({geoFilter: {distance: 10}, text: ''}, function(err, result) {
            if (err)
                console.log(err.children[1].text())
            else
                console.log(result);
        });

        // or same request in other syntax
        // searchingModule.search(new metabus.SearchQuery({geoFilter: new metabus.GeoFilter({distance: 10}), text: 'кофе около кремля'}), function(err, result) {...})


        // args can be JSON objects or proxy objects, generated from WSDL

        // service methods signature
        // module.method(arg1, arg2, arg3, success_callback)
        // or module.method({"param1": arg1, "param2": arg2, "param3": arg3}, success_callback)
    });

    // Basic authorization is supported:
    // new SoapClient({
    //    wsdl: 'http://api.metabus.ru/0.0.1/ws/SearchingModule?WSDL',
    //    authorization: {
    //       type: 'Basic',
    //       userName: 'Alladin',
    //       password: 'open sesame'
    //    },
    // }).init(function(err, metabus) { ...

---
_Source: https://npm.io/package/node-soap-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
