soap-ntlm-2

A minimal node SOAP client with ntlm support

No longer used, use node-soap
Last updated 5 years ago by vision10 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install soap-ntlm-2 
SYNC missed versions from official npm registry.

A SOAP client and server for node.js with added support for ntlm requiests.

Inspired by https://github.com/vpulim/node-soap ( latest version 0.10.3 ) and https://github.com/piotr-gawlowski/node-soap A pull requiest was started in original node-soap, if merged with master this package will be taken down.

Usage:

  var url = "http://server/instance/ReportService2010.asmx";
var options = {
    wsdl_options: {
        ntlm: true,
        username: "RSUser",
        password: "Reporting2012",
        workstation: "",
        domain: ""
    }
};

soap.createClient(url, options, function (err, client, body) {
    if (err) {
        console.log(err);
    }
    // normal use
    //client.setSecurity(new soap.NtlmSecurity(options.wsdl_options.userName, options.wsdl_options.password, options.wsdl_options.domain, options.wsdl_options.workstation));
    // or object can be passed
    client.setSecurity(new soap.NtlmSecurity(options.wsdl_options));

    console.log(client.describe());
    report = client.ReportingService2010.ReportingService2010Soap;
});

Current Tags

  • 0.9.4                                ...           latest (5 years ago)

1 Versions

  • 0.9.4 [deprecated]           ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (8)

Copyright 2014 - 2016 © taobao.org |