使用Axis导入webService报错No support for attachments
使用Axis生成的客户端,在导入webService时报错
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
AxisFaultfaultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode: faultString: java.lang.RuntimeException: No support for attachmentsfaultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException: No support for attachmentsat org.apache.axis.Message.setup(Message.java:372)at org.apache.axis.Message.<init>(Message.java:235)at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)at org.apache.axis.client.Call.invokeEngine(Call.java:2784)at org.apache.axis.client.Call.invoke(Call.java:2767)at org.apache.axis.client.Call.invoke(Call.java:2443)at org.apache.axis.client.Call.invoke(Call.java:2366)at org.apache.axis.client.Call.invoke(Call.java:1812)at com.xxx.ws.impl.CStub.import(CStub.java:260)at com.xxx.ws.impl.CStub.importProxy.importClaimInfo(CStubSrvProxy.java:56){http://xml.apache.org/axis/}hostname:chenxu49
问题原因
缺少mail.jar和activation.jar这两个jar包
解决方案
在网上下载两个jar包,扔到lib目录下(已上传到个人百度网盘)
使用Axis导入webService报错No support for attachments相关推荐
- delph7 调webservice报错:Unmarshalling Error:
问题:delph7 调webservice报错:Unmarshalling Error: 意外的元素 (uri:"microService", local:"arg0&q ...
- python导入openpyxl报错问题,终于解决啦
python导入openpyxl报错问题,终于解决啦 参考文章: (1)python导入openpyxl报错问题,终于解决啦 (2)https://www.cnblogs.com/guotang/p/ ...
- NVIDIA Jetson Xavier NX上导入tensorflow报错:AttributeError: module ‘wrapt‘ has no attribute ‘ObjectProxy‘
欢迎大家关注笔者,你的关注是我持续更博的最大动力 原创文章,转载告知,盗版必究 在Jetson Xavier NX上导入tensorflow报错:AttributeError: module 'wra ...
- Vue3导入Vue-router报错:Uncaught SyntaxError: The requested module does not provide
Vue3导入Vue-router报错:Uncaught SyntaxError: The requested module does not provide ybc4652 正在上传-重新上传取消 2 ...
- IOS动态库打包导入工程报错Library not loaded: @rpath/SwiftFrame.framework/SwiftFrame
IOS15动态库打包导入工程报错Library not loaded: @rpath/SwiftFrame.framework/SwiftFrame 环境: IOS 15.0 Xcode 13.0 最 ...
- datax导入MySQL报错_导入MySQL方法对比
使用datax导入 1.使用自增id 记录数 耗时(秒) TPS 4248882 347 12244 33404813 4038 8272 2.不使用自增id,使用雪花算法生成id后导入 记录数 耗时 ...
- php调用webservice报错Class 'SoapClient' not found
php调用webservice报错Class 'SoapClient' not found 原文:php调用webservice报错Class 'SoapClient' not found php在调 ...
- readxl包导入excel报错Error: `path` does not exist解决方法
readxl包导入excel报错Error: `path` does not exist解决方法 方法1:File - import dataset - from excel 方法2:检查语法错误 正 ...
- docker导入镜像报错:open /var/lib/docker/tmp/docker-import-970689518/bin/json: no such file or
使用docker load导入镜像报错:open /var/lib/docker/tmp/docker-import-970689518/bin/json: no such file or direc ...
- eclipse导入工程报错Faceted Project Problem(1 item)
问题描述: 我把完整的项目从Windows系统中复制到Ubuntu中,在Ubuntu中导入到eclipse之后,报错"eclipse导入工程报错Faceted Project Problem ...
最新文章
- Django模板继承
- Android 开发笔记___初级控件之实战__计算器
- JAVA——System.in作为控制台输入时结束输入(输入EOF)解决方案
- boost::hana::extend用法的测试程序
- TypeScript里的类型合并操作符
- [CQOI2012]模拟工厂 题解(搜索+贪心)
- 《Unit Testing》2.1 经典学派如何做测试隔离
- 9.获取当前时区时间和utc时间的工具方法
- 年轻人逃离大城市之后的下一站选哪儿?用数据来为你揭晓
- 复杂关联SQL的优化
- 【写作技巧】绪论写作要点
- 计算机制图的简称市什么,计算机地的图制图复习题.doc
- 华为IS-IS基础配置
- 重构:利用postman检测前后端互相传值
- java string与byte互转
- 【云驻共创】华为云助力加速构建企业数据资产和数据治理生产线
- 终端溯源图构建工具SPADE专题-1 SPADE工具安装
- 创新科技成果广东功能性水稻品种 国稻种芯百团计划行动
- Windows系统的命令窗口
- LeetCode.1005-K次取负数组和最大(Maximize Sum Of Array After K Negations)