xfire webservice datahandler Could not find the attachment cid
2015-06-09 14:20
387 查看
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");
<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");
相关文章推荐
- 如何在未越狱iOS设备上安装IPA
- 裤子都脱了 苹果就给我们看了这些?
- string类中的成员函数_Myptr()的作用
- jstorm 0.9.6.2安装配置
- java基础复习之五:字符及常用转义字符
- 什么时候用 assertion(断言)?
- 制作iOS Ad-Hoc测试应用
- layer 1.8.5 引用样式失效
- Storyboard里面的几种Segue区别及视图的切换:push,modal,popover,replace和custom
- 120个PHOTOSHOP技巧帮你加速设计
- tomcat详解
- leetcode - Intersection of Two Linked Lists
- 动态编译,远端调用Windchill方法
- (1)LinuxI2C驱动--概述
- Leetcode题解(7)L51/N-Queens
- VS2010中的自动化测试
- Git初探
- python-GUI的几个模块
- BootStrap入门笔记
- SuperExplorer 1.54分析