What binding uses xml message in WCF?http://forums.asp.net/t/1766192.aspx/1?What+binding+uses+xml+message+in+WCF+Tue, 07 Feb 2012 02:12:46 -050017661924817407http://forums.asp.net/p/1766192/4817407.aspx/1?What+binding+uses+xml+message+in+WCF+What binding uses xml message in WCF? <p>The <strong>asmx</strong> web service uses SOAP where xml is the message format. I assume that is the case when an aspx client uses WCF that uses basichttpbinding. When a client written in an MVC3 application uses the nettcpbinding with a WCF, how the data is transferred between the server to the client? Is it still xml message or as objects through process boundaries where there is no serialization and de-serialization of the objects.</p> 2012-02-05T22:21:43-05:004819486http://forums.asp.net/p/1766192/4819486.aspx/1?Re+What+binding+uses+xml+message+in+WCF+Re: What binding uses xml message in WCF? <p>Hi,</p> <p>&nbsp;</p> <p>First of all, the communication between server and client in WCF, you must make sure the binding (protocol) at the server and client are same, for example, if you are using BasicHttpBinding on the client side, then you must ensure that the service has a BasicHttpBinding, otherwise, it cannot communicate. As we know, one WCF service can be lie on different port and each port can have one binding (protocol), so if the service has netTcpBinding, you can also use netTcpBinding to communication with it on the client side. So as for you are using basichttpbinding and netTcpbinding at the same time on the client side, they are use their own message format to pass data, they do not affect each other.</p> <p><br> Hope this helps</p> <p>Regards,<br> Peter</p> 2012-02-07T02:12:46-05:00