deployint ws endpoint in javase