added support for Java WS