I tried with the below code 

```
     TFSTeamProjectCollection tpc =
                new TFSTeamProjectCollection(URIUtils.newURI(COLLECTION_URL), credentials );

            VersionControlClient srcctrl = tpc.getVersionControlClient();
         Changeset[] chngset;
        try {
            chngset = srcctrl.queryHistory("http://******/tfs/SpectaTestCollection/", LatestVersionSpec.INSTANCE, 0, RecursionType.FULL, null, new DateVersionSpec("6/10/2014"), LatestVersionSpec.INSTANCE, Integer.MAX_VALUE, false, true, false, true);

             for(Changeset ch : chngset)
                {
                    System.out.println("Change Set ID : "+ ch.getChangesetID());
                    System.out.println("Owner : "+ ch.getOwner());
                }
        } catch (ServerPathFormatException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

```

But eveytime getting this error : There is no working folder mapping for D:\WorkSpace\test-workspace\tfsplay.game\http:\*\*\*\*\*\*\*\*\tfs\SpectaTestCollection.

where "D:\WorkSpace\test -workspace\tfsplay.game" is my local workspace.

can anyone help me in guiding to the right way for doing this