title: Content issue in .NET Core app Consuming a WCF service
body: <p>I am trying to call a WCF service method from an .NET Core Web API using the new Visual Studio WCF Connected service.</p>
  
  <p>But when I am testing this, I get the following error:-</p>
  
  <blockquote>
    <p>The content type multipart/related; type="application/xop+xml"; start="<a href="http://tempuri.org/0" rel="nofollow noreferrer">http://tempuri.org/0</a>"; boundary="uuid:9e7f9b02-4d9c-4ec1-bad4-1007704a579a+id=1197"; start-info="text/xml" of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '
    --uuid:9e7f9b02-4d9c-4ec1-bad4-1007704a579a+id=1197
    Content-ID: <a href="http://tempuri.org/0" rel="nofollow noreferrer">http://tempuri.org/0</a>
    Content-Transfer-Encoding: 8bit
    Content-Type: application/xop+xml;charset=utf-8;type="text/xml"</p>
  </blockquote>
  
  <p>The exposed WCF service uses MTOM MessageEncoding and in traditional .NET framework client application, we can set the client to use MTOM in the application's config file but in .NET core, we don't have the config file where we can set the MessageEncoding and all this configuration 
  is taken care of in the code present in Reference.cs(which is a generated file).
  I thinking changing this generated file to set the MessageEncoding is not a good option.</p>
  
  <p>Any idea on what is the best way to handle this issue?</p>