首页 > Web开发 > 详细

xfire webservice datahandler Could not find the attachment cid

时间:2015-06-09 16:29:52      阅读:410      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!