title: Apache CXF 3.16 soap client - premature end of file
body: <p>I am developing a SOAP client with Apache CXF 3.16. When I execute my client, the wildfly server respons with premature end of file. I needed to find out where this truncating has happend so I used fiddler and setup a proxy to catch the request, but then suddenly the error disappeared. Can Anyone explain what happens and I what I should do to solve this issue with CXF?</p>
  
  <p>Regards</p>
  
  <p>with fiddler:</p>
  
  <pre><code>ID: 1
  </code></pre>
  
  <p>Address: <a href="http://localhost:8080/iam/im/TEWS6/sbxd" rel="nofollow">http://localhost:8080/iam/im/TEWS6/sbxd</a>
  Encoding: UTF-8
  Http-Method: POST
  Content-Type: text/xml</p>
  
  <h2>Headers: {Accept=[<em>/</em>], SOAPAction=["KMDCreateHRSoap"]}</h2>
  
  <hr>
  
  <p>ID: 1
  Response-Code: 200
  Encoding: UTF-8
  Content-Type: text/xml;charset=utf-8
  Headers: {connection=[keep-alive], Content-Length=[556], content-type=[text/xml;charset=utf-8], Date=[Tue, 07 Jun 2016 07:57:36 GMT], Server=[WildFly/8], Set-Cookie=[JSESSIONID=jnbJb_S4XZDJp-mM8XqW513q.idmapp0002; path=/iam/im], X-Powered-By=[Undertow/1]}</p>
  
  <p>Without Fiddler:</p>
  
  <hr>
  
  <p>ID: 1
  Address: <a href="http://localhost:8080/iam/im/TEWS6/sbxd" rel="nofollow">http://localhost:8080/iam/im/TEWS6/sbxd</a>
  Encoding: UTF-8
  Http-Method: POST
  Content-Type: text/xml
  Headers: {Accept=[<em>/</em>], SOAPAction=["KMDCreateHRSoap"]}
  Payload:</p>
  
  <p>ID: 1
  Response-Code: 500
  Encoding: UTF-8
  Content-Type: text/xml;charset=utf-8
  Headers: {connection=[keep-alive], Content-Length=[983], content-type=[text/xml;charset=utf-8], Date=[Tue, 07 Jun 2016 08:03:50 GMT], Server=[WildFly/8], Set-Cookie=[JSESSIONID=OnQoW3wBypZGI8qLWrjZ9lcs.idmapp0002; path=/iam/im], X-Powered-By=[Undertow/1]}</p>