Fix for java web service