Hello, I failed to subscribe to Exchange Notification by using web dav. While i can use webdav to read,search and create new Appointments. My code is UsernamePasswordCredentials creds = new UsernamePasswordCredentials(username, password ); String path="http://"+serverIP+"/"+exchangeFolder+"/"+calendarUser+"/"+calendarFolder+"/"; NotificationListener nl = new NotificationListener("localhost",0,serverIP,80, Protocol.getProtocol("http"), creds,path,30000,false); boolean flag= nl.subscribe( Subscription.UPDATE_NOTIFICATION,path,DepthSupport.DEPTH_0, 3600,1,new EventListener(),creds ); System.out.println("flag is "+flag); While EventListener is small class implements Subscriber. After run i got: flag is false SEVERE: Subscription for uri='http://192.168.32.203/exchange/dkamal/calendar/' failed. State: 401
If any one can help me i will be very thankfull as i search for 2 days without got anything. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
