Disable chunked transfer-encoding for JAX-WS Client in Wildfly 8
问题 I'm writing a SOAP client using JAX-WS on Wildfly 8 . When sending small messages to my server, the client works properly. When the message gets too large, a header "Transfer-Encoding: chunked" gets added and the server stops accepting the messages. Since I have no control over the server-part, I'm looking for a way to tell Wildfly to stop chunking large messages. I've found a solution for WebSphere here: Disable chunked transfer-encoding for JAX-WS Client in WebSphere Application Server 8.5