使用CXF發佈的WebService報錯:org.apache.cxf.interceptor.Fault: The given SOAPAction does not match an operat

 

場景:JAVA語言使用CXF搭建WebService發佈報錯apache

錯誤信息:org.apache.cxf.interceptor.Fault: The given SOAPAction does not match an operationblog

緣由:經查詢是由於soapAction缺乏值形成的部署

若是不是cxf編寫的客戶端調用則會產生這個問題,cxf客戶端不會出現該問題,多是其餘客戶端須要用這個屬性來查找對應的操做io

 

解決:使用@WebMethod()編譯

從新編譯部署後im

問題解決。soap

相關文章
相關標籤/搜索