Open AnandanRajkumar opened 5 years ago
var WSHttpBinding = require('wcf.js').WSHttpBinding , Proxy = require('wcf.js').Proxy , binding = new WSHttpBinding( { SecurityMode: "None" }) , proxy = new Proxy(binding, ,"http://xxxcxcxcxx.ddd:170/getdata.svc") , message = "<Envelope xmlns='http://schemas.xmlsoap.org/soap/envelope/'>" + "<Header />" + "<Body>" + "<intiallizeconnection xmlns='http://tempuri.org/'>" + "<con>DB</con>" + "</intiallizeconnection>" + "</Body>" + "</Envelope>" proxy.send(message, "http://tempuri.org/Igetdata/intiallizeconnection", function(response, err) { console.log(response) if(!err){ res.send({}) }else{ console.log(err) res.send({}) } });
please any one help me to make this work. Thanks
please any one help me to make this work. Thanks