Internal classes to understand WCF Message: XmlDictionaryWriter Class

XmlDictionaryWriter class is one of the most important classes to work with Message in WCF. This class is inherited form XmlWriter class. Essentially this takes as Stream as input parameter. This class mainly performs serialization and encoding of the stream to send as Message in WCF.     There are four factory methods of this … Continue reading Internal classes to understand WCF Message: XmlDictionaryWriter Class

Internal classes to understand WCF Message: XmlDictionary Class

In last post we discussed the way we could create WCF Message. If you go back and reexamine CreateMessage() function , you will find this function is overloaded with 11 different set of inputs. It is common when you will create Message, you may use XmlDictionary class. XmlDictionary class allows us to create a private … Continue reading Internal classes to understand WCF Message: XmlDictionary Class

Create Message in WCF

In last post  we discussed about SOAP Message Versions. Now let us move ahead and create a Message. You can create a Message using CreateMessage() method of Message class . This method is overloaded with 11 different set of input parameters. Easiest you can create a Message by just providing MessageVersion and action On running … Continue reading Create Message in WCF

WCF SOAP Message Version

Service and client communicate to each other through Messages. So they must be agreed upon the Message version while communicating. Service may send Message as POX or may be as SOAP12. When at service side we create a SOAP Message, we term it as Message Object Model. Essentially, we can say Message Object Model is … Continue reading WCF SOAP Message Version