Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.6.1
-
None
-
Apache CXF 3.6.1
Apache Camel 3.21.0
Java 11
-
Unknown
Description
Hi
I am using Apache Camel CXF component to integrate soap services.
Recently, I updated Apache Camel Version (3.20.x -> 3.21.0) and so Apache CXF version is changed (3.5.6 -> 3.6.1).
CXF 3.6.1
When I invoke SOAP service, by tcpdump I can see that CXF sets http headers 'Connection: Upgrade, HTTP2-Settings', 'HTTP2-Settings: AAEAAEAAAAIAAAABAAMAAABkAAQBAAAAAAUAAEAA' and 'Upgrade: h2c' but the connection is HTTP/1.1:
.o.91v..POST /my-soap-service HTTP/1.1 Connection: Upgrade, HTTP2-Settings Host: myhost:8080 HTTP2-Settings: AAEAAEAAAAIAAAABAAMAAABkAAQBAAAAAAUAAEAA Transfer-encoding: chunked Upgrade: h2c Accept: */* Authorization: Basic ****** Content-Type: text/xml; charset=UTF-8 SOAPAction: "" User-Agent: Apache-CXF/3.6.1
The server responds with HTTP/1.1 101 Switching Protocols.
CXF 3.5.6
I excluded CXF dependencies from Apache Camel and I downgraded it to 3.5.6 version and there wasn't this problem
.\....X POST /my-soap-service HTTP/1.1 Content-Type: text/xml; charset=UTF-8 Accept: */* Authorization: Basic ****** SOAPAction: "" User-Agent: Apache-CXF/3.5.6 Cache-Control: no-cache Pragma: no-cache Host: my-host:8080 Connection: keep-alive Transfer-Encoding: chunked
Attachments
Issue Links
- relates to
-
CXF-8896 http client sends some strange HTTP/1.1 and HTTP/2 mix headers
- Closed