zoukankan      html  css  js  c++  java
  • 使用CXF发布的WebService报错:org.apache.cxf.interceptor.Fault: The given SOAPAction does not match an operation

    场景:JAVA语言使用CXF搭建WebService发布报错

    错误信息:org.apache.cxf.interceptor.Fault: The given SOAPAction does not match an operation

    原因:经查询是因为soapAction缺少值造成的

    如果不是cxf编写的客户端调用则会产生这个问题,cxf客户端不会出现该问题,可能是其他客户端需要用这个属性来查找对应的操作

    解决:使用@WebMethod()

    重新编译部署后

    问题解决。

  • 相关阅读:
    IE11浏览器:请不要再叫我IE,谢谢
    Hadoop HA高可用搭建流程
    YARN
    MapReduce
    HDFS
    shell
    shell总结
    linux总结
    maven+log4j
    Spring
  • 原文地址:https://www.cnblogs.com/goldenVip/p/7411264.html
Copyright © 2011-2022 走看看