Enumeration enum = rootResource.propfindMethod(service.getWebdavServerURI()+filePath,new PropertyName("DAV:",type).toString());
Enumeration enum = rootResource.propfindMethod(filePath,new PropertyName("DAV",type).toString());
	private MetadataValueBean[] getMetadata() {		MetadataValueBean[] data;		ArrayList arrayList = new ArrayList();				try {			IWContext iwc = IWContext.getInstance();			IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwc,IWSlideSession.class);			IWSlideService service = (IWSlideService)IBOLookup.getServiceInstance(iwc,IWSlideService.class);				WebdavRootResource rootResource = session.getWebdavRootResource();			//TODO (JJ) have to fetch the filepath			String filePath = resourcePath;			//			IWUserContext iwuc = IWContext.getInstance();//	    	String root = iwuc.getApplicationContext().getIWMainApplication().getApplicationContextURI();			System.out.println("Resource path is "+service.getWebdavServerURI()+filePath+" # of metadata types:"+WebDAVMetadata.metadataType.length);			rootResource.proppatchMethod(service.getWebdavServerURI()+filePath,new PropertyName("DAV:","keywords").toString(),"Test",true);			for(int i=0;i<WebDAVMetadata.metadataType.length;i++) {				String type = WebDAVMetadata.metadataType[i];				System.out.println("Type is "+type);								Enumeration enum = rootResource.propfindMethod(service.getWebdavServerURI()+filePath,new PropertyName("DAV:",type).toString());					StringBuffer value = new StringBuffer();				while(enum.hasMoreElements()) {					value.append(enum.nextElement());				}				System.out.println("Value is "+value);				MetadataValueBean mvb = new MetadataValueBean(type, value.toString(),"delete");				arrayList.add(mvb);			}			data = (MetadataValueBean[])arrayList.toArray(new MetadataValueBean[0]);					} catch (HttpException ex) {