最近在做彩信的东西,可是有个问题,发送出去的彩信,有的终端能收到,有的收到了但是下不下来
查了一下,可能和编码有关,但是不晓得这个编码是在哪里设置的,请帮忙看看
------=_Part_2_29154294.1248090150625
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary --->这里,其他的可以正常接收的包是 Content-Transfer-Encoding: base64
Content-Id: <D06EEE2CBA9218C2B447CE27478092FA><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><RequestSOAPHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns="http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1"><spId>..........
有谁能告诉我是怎么回事?谢谢
查了一下,可能和编码有关,但是不晓得这个编码是在哪里设置的,请帮忙看看
------=_Part_2_29154294.1248090150625
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary --->这里,其他的可以正常接收的包是 Content-Transfer-Encoding: base64
Content-Id: <D06EEE2CBA9218C2B447CE27478092FA><?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><RequestSOAPHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns="http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1"><spId>..........
有谁能告诉我是怎么回事?谢谢
解决方案 »
- ajax 局部定时刷新?
- 有关服务器的问题
- JSP中怎样把变量值输出到text文本框啊?帮帮忙
- BeanUtils.copyProperties()问题
- hibernate 运行hbm2java时报错
- Eclipse插件开发hibernate的基础问题,请各位大侠帮忙,在线等!
- 调用webservice怎么加入一个soap头
- 谁使用过J2EE Deployment API 开发过 Deploy Tool?
- Struts中文问题
- java.lang.NoSuchMethodError when run j2ee -verbose
- 求spring高手指点:spring2.5无法实例化Hibernate的SessionFactory问题
- 为防止ssh数据缓存带来的问题一般会怎么做
是 Content-Transfer-Encoding: binary 的问题
正常的可以接收的值是 Content-Transfer-Encoding: base64
我找不到在哪里配置或者设置这个编码
X-Mailer: Internet Mail Service (5.5.2654.52)
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: base64
建议你不要用binary格式传附件,而是用base64重新编码附件再发送。