Sorry the problem was with my jersey client which ignored seted content-lengh header. Whole functionality works fine with valid header.
Sorry the problem was with my jersey client which ignored seted content-lengh header. Whole functionality works fine with valid header.