Question
· Feb 27, 2018

Potential size limit issue when using EnsLib.SOAP.InboundAdapter

I have a service that uses the EnsLib.SOAP.InboundAdapter, and I seem to be facing an odd problem.

Our clinical document system sent a request which contained a word document in base64, and was presented with the error "ERROR #6253: Datatype validation failed for tag payload (ending at line 1 character 2111). Unexpected tag <ClinicalDocument> found."

I took a look at the word document sent, and found it contained an image which made the document size about 4MB larger than the average document.

I resent the document both with and without the image while monitoring with Wireshark, and then compared the structure to make sure there was no glaringly obvious differences, and there wasn't (I used winmerge to do the comparison).

Only after resizing the image a few times to make it smaller did I finally get the service to accept the inbound message.

Is there a size limit I might be hitting that would explain this? I can't find anything documented which explains this, and there is nothing declared in the Service class that specifies a limit.

Discussion (3)0
Log in or sign up to continue