custom-headers

How to add SOAP headers in Silverlight?

Hello all... I'm trying to secure a data service used by my Silverlight, and am looking at using a custom SOAP header obfuscated into the SL and HTTPSed. I've found any number of examples showing how to do this using IClientMessageInspector, IEndpointBehavior, and a few other things. Okay... it all looks straightforward enough. My pr...

IClientMessageInspector in Silverlight 3.0 ?

Hello all, I'm trying to secure a data service using SOAP headers in Silverlight. I thought i had found the answer in IClientMessageInspector. Unfortunately by default it seems this isn't supported, as creating a SL project adds a reference to System.ServiceModel v.2, and this interface wasn't added until v.3. Looking around online, ev...

Hot to get custom http-header in asp.net?

I have an asp.net appliction on the one server. There I've added code on server-side in Page_Load: Response.AddHeader("key", "password-key-from-hotel"); On the client side I have a form: <form ... action="www.link-to-another-domaint" > <input type="hidden" id="asd" value="fgh" > .... </form> <script type="text/javascript"> ...

Is it Possible to Make Cross-Domain Requests in Javascript AND Set Custom Headers?

Since you can't apply custom headers on JSONP calls, how do I make cross domain requests AND apply custom headers using jQuery? I'm basically trying to access google docs with jQuery and need to pass an authentication token: var token = "my-auth-token"; $.ajax({ url: "http://docs.google.com/feeds/documents/private/full?max-results=1&...