Skip to content

Instantly share code, notes, and snippets.

@gvt
Created May 23, 2014 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gvt/d2921b9f23c73295dd54 to your computer and use it in GitHub Desktop.
Save gvt/d2921b9f23c73295dd54 to your computer and use it in GitHub Desktop.
var fs = require('fs');
var soap = require('soap');
soap.createClient('./test.wsdl', function(err, client) {
var args;
args = {dayOfMonth: 31, autobill: {VID: '8da41285dc7df60405895435420e600faa41fb0d'}};
client.changeBillingDayOfMonth(args, function(err, result) {
console.log(arguments);
});
args = {autobill: {VID: '8da41285dc7df60405895435420e600faa41fb0d'}, dayOfMonth: 31};
client.changeBillingDayOfMonth(args, function(err, result) {
console.log(arguments);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment