diff --git a/routes/CMF/vizCard.js b/routes/CMF/vizCard.js index a076869..08ad338 100644 --- a/routes/CMF/vizCard.js +++ b/routes/CMF/vizCard.js @@ -5,37 +5,7 @@ const EasySoap = require('easysoap'); /* GET users listing. */ router.get('/', function(req, res, next) { - - // define soap params - const params = { - host: 'www.sample.com', - path: '/path/soap/', - - // set soap headers (optional) - headers: [{ - 'name' : 'item_name', - 'value' : 'item_value', - 'namespace': 'item_namespace' - }] - } - - /* - * create the client - */ - var soapClient = EasySoap(params); - - console.log(soapClient); - - /* - * get all available functions - */ - soapClient.getAllFunctions() - .then((functionArray) => { console.log(functionArray); }) - .catch((err) => { throw new Error(err); }); - - res.send('viz card id'); - }); module.exports = router; -- libgit2 0.21.2