使用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相关推荐

  1. delph7 调webservice报错:Unmarshalling Error:

    问题:delph7 调webservice报错:Unmarshalling Error: 意外的元素 (uri:"microService", local:"arg0&q ...

  2. python导入openpyxl报错问题,终于解决啦

    python导入openpyxl报错问题,终于解决啦 参考文章: (1)python导入openpyxl报错问题,终于解决啦 (2)https://www.cnblogs.com/guotang/p/ ...

  3. NVIDIA Jetson Xavier NX上导入tensorflow报错:AttributeError: module ‘wrapt‘ has no attribute ‘ObjectProxy‘

    欢迎大家关注笔者,你的关注是我持续更博的最大动力 原创文章,转载告知,盗版必究 在Jetson Xavier NX上导入tensorflow报错:AttributeError: module 'wra ...

  4. Vue3导入Vue-router报错:Uncaught SyntaxError: The requested module does not provide

    Vue3导入Vue-router报错:Uncaught SyntaxError: The requested module does not provide ybc4652 正在上传-重新上传取消 2 ...

  5. IOS动态库打包导入工程报错Library not loaded: @rpath/SwiftFrame.framework/SwiftFrame

    IOS15动态库打包导入工程报错Library not loaded: @rpath/SwiftFrame.framework/SwiftFrame 环境: IOS 15.0 Xcode 13.0 最 ...

  6. datax导入MySQL报错_导入MySQL方法对比

    使用datax导入 1.使用自增id 记录数 耗时(秒) TPS 4248882 347 12244 33404813 4038 8272 2.不使用自增id,使用雪花算法生成id后导入 记录数 耗时 ...

  7. php调用webservice报错Class 'SoapClient' not found

    php调用webservice报错Class 'SoapClient' not found 原文:php调用webservice报错Class 'SoapClient' not found php在调 ...

  8. readxl包导入excel报错Error: `path` does not exist解决方法

    readxl包导入excel报错Error: `path` does not exist解决方法 方法1:File - import dataset - from excel 方法2:检查语法错误 正 ...

  9. 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 ...

  10. eclipse导入工程报错Faceted Project Problem(1 item)

    问题描述: 我把完整的项目从Windows系统中复制到Ubuntu中,在Ubuntu中导入到eclipse之后,报错"eclipse导入工程报错Faceted Project Problem ...

最新文章

  1. Django模板继承
  2. Android 开发笔记___初级控件之实战__计算器
  3. JAVA——System.in作为控制台输入时结束输入(输入EOF)解决方案
  4. boost::hana::extend用法的测试程序
  5. TypeScript里的类型合并操作符
  6. [CQOI2012]模拟工厂 题解(搜索+贪心)
  7. 《Unit Testing》2.1 经典学派如何做测试隔离
  8. 9.获取当前时区时间和utc时间的工具方法
  9. 年轻人逃离大城市之后的下一站选哪儿?用数据来为你揭晓
  10. 复杂关联SQL的优化
  11. 【写作技巧】绪论写作要点
  12. 计算机制图的简称市什么,计算机地的图制图复习题.doc
  13. 华为IS-IS基础配置
  14. 重构:利用postman检测前后端互相传值
  15. java string与byte互转
  16. 【云驻共创】华为云助力加速构建企业数据资产和数据治理生产线
  17. 终端溯源图构建工具SPADE专题-1 SPADE工具安装
  18. 创新科技成果广东功能性水稻品种 国稻种芯百团计划行动
  19. Windows系统的命令窗口
  20. LeetCode.1005-K次取负数组和最大(Maximize Sum Of Array After K Negations)

热门文章

  1. javaweb框架 一些底层实现
  2. 依码仕喷码机编程指南
  3. 软考高项比中项在难度上高多少?
  4. turbo编译码c语言,Turbo码的编译码基本原理和常用编译码算法分析及仿真程序
  5. 格拉布斯离群值检验——理论与 Python 实现
  6. matlab编写LDA,lda算法matlab实现
  7. Code::Blocks 17.12 FLTK 开发环境搭建
  8. 高校/中职大数据实验室建设方案
  9. Mastik:微体系结构侧信道攻击工具包
  10. 《征信业务管理办法》发布