WSDL响应码:500,出现SoapFault A安全错误

时间:2019-06-05 05:31:12

标签: spring-boot

这次,当我尝试使用第三方SOAP / WSDL服务发送Zip文件时,出现以下错误:错误:响应代码:500,带有SoapFault:验证消息时遇到安全错误

----------------------------
ID: 1
Response-Code: 500
Encoding: UTF-8
Content-Type: text/xml;charset=UTF-8
Headers: {Cache-Control=[max-age=0], connection=[close], content-type=[text/xml;charset=UTF-8], Date=[Wed, 05 Jun 2019 04:58:09 GMT], Expires=[Wed, 05 Jun 2019 04:58:09 GMT], Server=[Apache], transfer-encoding=[chunked], vary=[accept-encoding], X-Frame-Options=[DENY], X-XSS-Protection=[1; mode=block]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode xmlns:ns1="http://ws.apache.org/wss4j">ns1:SecurityError</faultcode><faultstring>A security error was encountered when verifying the message</faultstring></soap:Fault></soap:Body></soap:Envelope>
--------------------------------------]
10:28:09,926 [WARN] [org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor] [main] [handleMessageInternal] [301] - [The request is a SOAP Fault, but it is not secured]
Invocation failed with the following: org.apache.cxf.binding.soap.SoapFault: A security error was encountered when verifying the message

0 个答案:

没有答案