码迷,mamicode.com
首页 > Web开发 > 详细

xfire webservice datahandler Could not find the attachment cid

时间:2015-06-09 16:32:10      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:

services.xml中添加

<properties>
<property key="mtom-enabled">true</property>
</properties>

 

 

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>
<name>HdfsService</name>
<namespace>http://net.tplink.HDFSService/MathService</namespace>
<serviceClass>net.tplink.hdfs.service.IHdfsService</serviceClass>
<implementationClass>net.tplink.hdfs.service.impl.HdfsServiceImpl</implementationClass>
<properties>
<property key="mtom-enabled">true</property>
</properties>
</service>
</beans>

 

客户端添加

client.setProperty("mtom-enabled", "true");
client.setProperty(HttpTransport.CHUNKING_ENABLED, "true");

 

xfire webservice datahandler Could not find the attachment cid

标签:

原文地址:http://www.cnblogs.com/sunchuanlei/p/4562753.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!