8 lines
225 B
JavaScript
8 lines
225 B
JavaScript
|
var soap = require('soap');
|
||
|
var url = 'http://example.com/wsdl?wsdl';
|
||
|
var args = {name: 'value'};
|
||
|
soap.createClient(url, function(err, client) {
|
||
|
client.MyFunction(args, function(err, result) {
|
||
|
console.log(result);
|
||
|
});
|
||
|
});
|