WCF: Custom encoder to read MTOM response

Today I will talk about one of the weird issues related to encoder. Issue Client application should send an MTOM encoded request message to 3rd party web service. The web service will respond it with a TEXT encoded response message. How can .net client support this ambiguity in encoder level? Assessment When client is configured…