This will be kind of you to send your code to me.
  I will wait your code.
  Thank you very match.
  

"Hoef, Jan" <[EMAIL PROTECTED]> wrote:
  I have made an implementation of a javamail provider for microsoft exchange 
via webdav. 
Normally I had plans to give it back to the slide project but have no time 
anymore to work on it. 
I implemented also the notification function. 
I you want I will send you all my code so you can look at it

Jan


________________________________

Van: Dalia Kamal [mailto:[EMAIL PROTECTED]
Verzonden: do 4/05/2006 12:12
Aan: [email protected]
Onderwerp: Failed to subscribe to Exchange Notification 



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! Messenger's low PC-to-Phone call rates. 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



                
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min 
with Yahoo! Messenger with Voice.
                
---------------------------------
How low will we go? Check out Yahoo! MessengerÂ’s low  PC-to-Phone call rates.

Reply via email to