Java Port for MDS API