I've managed to fix this issue by creating client with axis2. I also tried to use CXF, but I couldn't install it on our jboss because other webserwices stopped working.
So creating an axis2 clinet and using it in regular JAX-WS webserwice was a solution.