3 Replies Latest reply on Oct 25, 2005 4:26 PM by Thomas Diesler

    Content-length header usage

    Reiner Kappenberger Newbie


      is there a way that JBossWS can use the HTTP Content-Length field instead of using the length information embedded inside the content itself?

      I'm having problems with a Web Service Client that can only work with the Content-Length field. Unfortunately there is no way that the client can be modified to use the current length information field.

      I've been able to modify AXIS with JBoss 3.2.6 to use the Content-Length information by manually adding the header by implementing a simple OutputStream that calculates the total bytes written to the final OutputStream and then setting the ContentLength field with this data.