Commit 113791adad5d2f03ef8cf8fa15602a038030fcc6

Authored by Nattapon
1 parent b994c836
Exists in master and in 1 other branch dev

fix bug

Showing 1 changed file with 0 additions and 30 deletions   Show diff stats
routes/CMF/vizCard.js
... ... @@ -5,37 +5,7 @@ const EasySoap = require('easysoap');
5 5  
6 6 /* GET users listing. */
7 7 router.get('/', function(req, res, next) {
8   -
9   - // define soap params
10   - const params = {
11   - host: 'www.sample.com',
12   - path: '/path/soap/',
13   -
14   - // set soap headers (optional)
15   - headers: [{
16   - 'name' : 'item_name',
17   - 'value' : 'item_value',
18   - 'namespace': 'item_namespace'
19   - }]
20   - }
21   -
22   - /*
23   - * create the client
24   - */
25   - var soapClient = EasySoap(params);
26   -
27   - console.log(soapClient);
28   -
29   - /*
30   - * get all available functions
31   - */
32   - soapClient.getAllFunctions()
33   - .then((functionArray) => { console.log(functionArray); })
34   - .catch((err) => { throw new Error(err); });
35   -
36   -
37 8 res.send('viz card id');
38   -
39 9 });
40 10  
41 11 module.exports = router;
... ...