Forum Discussion

sam101's avatar
sam101
New Contributor
10 years ago

SOAPUI 5.1.3- MockResponse Attachments content-type = text/csv

In my MockResponse I have to set content-type = text/csv.  If I do this Content-transfer-encoding =quotable-printable.  

Now because of this in my SOAP client I get below error:

 

Caused by: java.io.IOException: Found LF without CR
at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read0

 

Exception in thread "main" org.apache.axiom.om.OMException: org.apache.axiom.ext.io.StreamCopyException: Error reading from source
at org.apache.axiom.attachments.PartContentFactory.createPartContent(PartContentFactory.java:153)

 

 

How can I set content-transfer-encoding = binary? Will this solve it.


See the response attachment that fails in my SOAP client