java port of webservice