Fix bug where method returns null (unsuported by jax-ws)