- 1 minutes to read

11. Can I log binary SOAP attachments (MTOM) or large XML documents?

Part of the WCF Diagnostics Tracing troubleshooting and FAQ guide.

YES - no payload size limits. WCF MTOM (Message Transmission Optimization Mechanism) attachments logged as Base64-encoded strings in Nodinite. Large XML documents (125KB EDI X12 856 shipments, 42KB QualityControl inspection reports, 8MB PDF invoices as SOAP attachments) stored in SQL Server nvarchar(max) or varbinary(max) columns (no truncation). Full-text search on XML content. For very large attachments (>10MB), consider storing payload reference URL in Nodinite + actual binary in Azure Blob Storage or file share (custom Search Field Expression extracts attachment URL from SOAP header).


Next Steps