Custom Message Formatting in WCF to add all Namespaces to the SOAP Envelope
Posted by: Rick Strahls WebLog,
on 02 Apr 2016 |
View original | Bookmarked: 0 time(s)
I've been working on a WCF client implementation that is calling into a rather peculiar service that is unable to handle messages sent from a WCF SOAP client. In particular the service I needed to call does not allow inline namespaces in the SOAP message and requires that all namespaces are declared with prefixes and declared on the SOAP:Envelope element. WCF by default doesn't work that way. It felt like I entered into the real bizarro world of a service that was refusing valid XML messages because...