webdav -exchange notification

m elkayd <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
hi all
i use the notificationListner to listen to changes happened in exchange server
in the following code the notify function is fired when there is any changes but
it didn't give me any info about the updated data the parameter pased to it is
always empty


            String root = "/exchange";
            String resource ="test/";
            listener = new NotificationListener("localhost",1113,exchangePort,80,
                    Protocol.getProtocol("http"),  
                    new NTCredentials("uname","pass",serverip,""),
                    root+"/" + 
                    resource,10000,true);

           
System.out.println(listener.subscribe("Update/newmember","",DepthSupport.DEPTH_1,
                    1,100,new SimpleSubscriber(),
                    new NTCredentials("test","TheN1le","172.18.7.1","")));

and here the SimpleSubscriber class
public class mySubscriber implements Subscriber {
        public void notify( String uri, Map map) {
          
          System.out.println( uri);
          if(map.isEmpty())
        	  System.out.println("empty map");
        
          
          }
        }
}


is anybody know what is wrong ,i need the notify to have info about the modified
data
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.