Click here to Skip to main content
15,922,574 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can you please help me to know where i am doing wrong.
SiteData SiteData = new SiteData();
 String sharePointSourceURL = "Documents/Check";
 Holder<Long> enumerateFolderResult = new Holder<Long>();
 Holder<ArrayOfSFPUrl> vUrls = new Holder<ArrayOfSFPUrl>();
 SiteData.getSiteDataSoap().enumerateFolder(sharePointSourceURL, enumerateFolderResult, vUrls);

 System.out.println(enumerateFolderResult.value);
 System.out.println(vUrls.value);
 if(null != vUrls.value){
  for(SFPUrl url : vUrls.value.getSFPUrl()){
 System.out.println(url.getUrl());
 System.out.println(url.getLastModified());
 System.out.println(url.isIsFolder());
  }
 }else{
  System.out.println("Folder is empty");
 }

Documents/Check :- is the folder that has all the files.
But it is always returing NULL
Posted
Updated 23-May-11 6:14am
v3
Comments
[no name] 23-May-11 12:15pm    
Why are you using v3 web services to access a 2010 site?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900