Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wshttpbinding its not working ? #28

Open
AnandanRajkumar opened this issue May 23, 2019 · 0 comments
Open

wshttpbinding its not working ? #28

AnandanRajkumar opened this issue May 23, 2019 · 0 comments

Comments

@AnandanRajkumar
Copy link

AnandanRajkumar commented May 23, 2019

 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant