I analyze the traffic using both wireshark as well as burp (https://portswigger.net/burp) along with dump request in the server log (Using -Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true and -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true). Below are some log and screenshot that I capture. For some reasons, the keep-alive tag is removed from the request inside httpheader when it leaves the wire.
---------------------------Outbound request to partner------ 2016-12-06 17:14:32,174 INFO [org.apache.cxf.services.RespondingGatewayPortTypeService.RespondingGateway_PortTypePort.RespondingGateway_PortType] (pool-19-thread-1) Outbound Message ID: 4 Address: https://localhost:8181/Gateway/PatientDiscovery/1_0/NhinService/NhinPatientDiscovery Encoding: UTF-8 Http-Method: POST Content-Type: application/soap+xml; charset=UTF-8 Headers: {Accept=[*/*], keep-alive=[timeout=10], MinhCustomTAGV9=[Hello=10]} Payload: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header>.... -------------------------Burp screenshot(attachment)------------- <http://cxf.547215.n5.nabble.com/file/n5775584/proxy_capture.jpg> - -- View this message in context: http://cxf.547215.n5.nabble.com/Unable-to-set-keep-Alive-timeout-duration-inside-CXF-header-tp5775413p5775584.html Sent from the cxf-user mailing list archive at Nabble.com.
