什么是Spring Integration,相当于cxf中的TLSClientParameters.setDisableCNCheck(true)
我们可以在DisableCNCheck
或<int-ws:outbound-gateway>
中设置org.springframework.ws.soap.SoapHeader
吗?
使用TCP监视器捕获Soap请求,使用params.setDisableCNCheck运行示例cxf客户端(true):
POST / HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Accept: */*
SOAPAction: ""
User-Agent: Apache CXF 2.6.2
Cache-Control: no-cache
Pragma: no-cache
Host: 127.0.0.1:8888
Connection: keep-alive
Content-Length: 243
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body>...</soap:Body></soap:Envelope>
DisableCNCheck未设置为SOAP标头。它可能设置为http标头。