Add header to JavaScript WCF service call -


i'm calling wcf service via javascript. there way can add header wcf service call?

http headers part of request, irrespective of javascript or .net call can set. jquery , other libraries provide them. whereas if trying add soap header javascript request becomes post request body having header xml.

following paper explains in detail how call soap based service javascript using xmlhttprequest. hope helps.

http://www.ibm.com/developerworks/webservices/library/ws-wsajax/


Comments

Popular posts from this blog

c# - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService -

android - Cannot use ndk-build on Cygwin -

sql server - python to mssql encoding problem -