Getting it working by using jaxws handler.