Author: alessio.soldano(a)jboss.com
Date: 2010-03-16 13:36:32 -0400 (Tue, 16 Mar 2010)
New Revision: 11793
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java
Log:
[JBWS-2903] Setting charset on content-type header
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java 2010-03-16
16:36:12 UTC (rev 11792)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/attachment/MultipartRelatedXOPEncoder.java 2010-03-16
17:36:32 UTC (rev 11793)
@@ -80,7 +80,7 @@
rootPart.setText(envStr, "UTF-8");
rootPart.setContentID(MimeConstants.ROOTPART_CID);
- rootPart.setHeader(MimeConstants.CONTENT_TYPE,
MimeConstants.TYPE_APPLICATION_XOP_XML + "; type=\"" + soapType +
"\"");
+ rootPart.setHeader(MimeConstants.CONTENT_TYPE,
MimeConstants.TYPE_APPLICATION_XOP_XML + "; charset=UTF-8; type=\"" +
soapType + "\"");
rootPart.setHeader(MimeConstants.CONTENT_TRANSFER_ENCODING,
MimeConstants.TEXT_8BIT_ENCODING);
multipart.addBodyPart(rootPart);
Show replies by date