Search code examples
.netwcfc#-4.0soapwcf-binding

Encode and Decode content-type 'application/soap+msbin1' for use with HttpWebRequest/HttpWebResponse in C#.NET


I have searched high and low looking for a simple class or set of functions to encode and decode the content type 'application/soap+msbin1'

My end goal is to be able to use HttpWebRequest and HttpWebResponse to interact with a webserver running a silverlight application.

Any samples or examples of either of the two items above are greatly appreciated.


Solution

  • I was able to view the data with fiddler2

    http://fiddler2.com/fiddler2/version.asp

    using the fiddler extension

    http://archive.msdn.microsoft.com/wcfbinaryinspector

    and encode/decode the data with

    https://github.com/GDSSecurity/WCF-Binary-SOAP-Plug-In/blob/master/burp_wcf_plugin/src/NBFS.cs