13 years ago
Content-transfer-enconding for text/xml attachments
I'm testing a web service using a soapUI project that sends an WS-I swaRef attachment (an XML file). When I examine the SOAP request built by soapUI, the header information for MIME part containing the attached file (UTF-8 XML file) can be this:
------=_Part_2_15813854.1330681528190
Content-Type: text/xml; charset=Cp1252; name=XML1.xml
Content-Transfer-Encoding: quoted-printable
Content-ID: <801091963244>
Content-Disposition: attachment; name="XML1.xml"; filename="XML1.xml"
But, using another XML file (UTF-8 encoded XML file, also), the header is:
------=_Part_3_3516736.1330682171067
Content-Type: text/xml; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-ID: <801091963244>
Content-Disposition: attachment; name="XML2.xml"
So, what makes soapUI decide between "7bit" or "quoted-printable" value for "Content-Transfer-Encoding" property? Could I change this behavior?
(I'v uploaded both files to the forum)
Thanks.
------=_Part_2_15813854.1330681528190
Content-Type: text/xml; charset=Cp1252; name=XML1.xml
Content-Transfer-Encoding: quoted-printable
Content-ID: <801091963244>
Content-Disposition: attachment; name="XML1.xml"; filename="XML1.xml"
But, using another XML file (UTF-8 encoded XML file, also), the header is:
------=_Part_3_3516736.1330682171067
Content-Type: text/xml; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-ID: <801091963244>
Content-Disposition: attachment; name="XML2.xml"
So, what makes soapUI decide between "7bit" or "quoted-printable" value for "Content-Transfer-Encoding" property? Could I change this behavior?
(I'v uploaded both files to the forum)
Thanks.