尝试理解何时使用mtom编码我正在获取大型数组“FileContentArray”的二进制数据,但随后它也以文本形式输出数组。我贴了Fiddler的回复。内容类型设置为二进制,但显然是明文。 有什么想法吗?
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<e:EncryptedData Id="_6" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:e="http://www.w3.org/2001/04/xmlenc#">
<e:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<o:SecurityTokenReference>
<o:Reference URI="#_3"/>
</o:SecurityTokenReference>
</KeyInfo>
<e:CipherData>
<e:CipherValue>
<xop:Include href="cid:http%3A%2F%2Ftempuri.org%2F1%2F635934810848921585" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
</e:CipherValue>
</e:CipherData>
</e:EncryptedData>
</o:Security>
</s:Header>
<s:Body>
<RawLogResponse xmlns="http://merge.com/icc/services/common/logging/datacontract/">
<Age xmlns="http://merge.com/icc/services/common/logging">30</Age>
<Author xmlns="http://merge.com/icc/services/common/logging">Nick Khan</Author>
<CreationDate xmlns="http://merge.com/icc/services/common/logging">3/13/2016</CreationDate>
<FileContentArray xmlns="http://merge.com/icc/services/common/logging">
<xop:Include href="cid:http%3A%2F%2Ftempuri.org%2F2%2F635934810848921585" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
</FileContentArray>
</RawLogResponse>
</s:Body>
</s:Envelope>
- UUID:02d87cf2-1a92-4da9-A26E-348eaa650bee + ID = 4 Content-ID:http://tempuri.org/1/635934810848921585 内容传输编码:二进制 Content-Type:application / octet-stream
* +±b°ñ?Ôn&gt;ÅßùŠÿþ6i-“u.¨÷!¹c.dÓ[.Œμ_¨ÎÊŸ¸'”ú,tTêHD-A“¡zºW¼|í,cÉ1&gt ;;²Dºƒø‰ü· Ÿç_!h†PPØ|ÀwªØc¹¼ètÈ:£:ÚálI«jò3¡NÀ>:‰¥ - »Œq©lT
- UUID:02d87cf2-1a92-4da9-A26E-348eaa650bee + ID = 4 Content-ID:http://tempuri.org/2/635934810848921585 内容传输编码:二进制 Content-Type:application / octet-stream
DevTraceLog错误:55:2015-12-11 02:16:18.068: [来源] TransferJobUtility :: ProcessJobs