标签:
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