Forum Discussion

ErnstSoapTester's avatar
ErnstSoapTester
Occasional Visitor
4 months ago
Solved

Invalid Content-Type for attachments

When adding a pdf document as an attachment to a SOAP request SoapUI generates a multipart message but using /r/n (carriage return line-feed) in the Content-Type header for the attachment: Content-...
  • Humashankar's avatar
    13 days ago

    Hi ErnstSoapTester​ 

    This is a SoapUI Open Source defect/limitation and It’s caused by CRLF header folding in multipart attachments.

    Use MTOM, remove the filename parameter, or rewrite the header as a workaround and give a try.

    Best Regards