yaronn / wcf.js

A WCF-compatible web service client stack for node.js. Written in pure javascript!
http://webservices20.blogspot.com/
107 stars 26 forks source link

Debugging Support #2

Open shlonny opened 12 years ago

shlonny commented 12 years ago

Thanks for your work with Wcf.js.

Is there anyway to display out to the console some debugging info? Like what the resulting message envelope looks like before being sent or just general info about a request? I'm running into some issues with WSHttpBinding reporting multiple headers with name 'x' and it would help to see how the library is interpreting the envelope I created versus the one it ends up with. Hope that makes since.

Again, thanks.

yaronn commented 12 years ago

I'll definitely add this capability when I'll have time. Meanwhile I suggest you set up Fiddler and direct wcf.js to send the message to http://localhost:8888/ which will show you the exact payload in Fiddler.

note to self - use https://github.com/nomiddlename/log4js-node