Open lliaoliao opened 6 years ago
Is it also really slow for you too?
Hi, can you provide some more information pls? Did you have a stacktrace? What's the EWS response?
@OS-JaR thank you response that. when i invoke conn.open() .
my stacktrace below microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: The server cannot service this request right now. Try again later. at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.processWebException(ServiceRequestBase.java:548) at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:641) at microsoft.exchange.webservices.data.core.request.HangingServiceRequestBase.internalExecute(HangingServiceRequestBase.java:175) at microsoft.exchange.webservices.data.notification.StreamingSubscriptionConnection.open(StreamingSubscriptionConnection.java:316) at com.mtuskerbase.app.widget.mailExchange.EmailRunner2.connect(EmailRunner2.java:67) at com.mtuskerbase.app.widget.mailExchange.aaaaa.main(aaaaa.java:9)
@SelaO no ,my client can not open connection.
I am facing the same issue.
package com.mtuskerbase.app.widget.mailExchange;
import java.net.URI; import java.util.ArrayList; import java.util.Iterator; import java.util.List;
import microsoft.exchange.webservices.data.core.ExchangeService; import microsoft.exchange.webservices.data.core.PropertySet; import microsoft.exchange.webservices.data.core.enumeration.misc.ExchangeVersion; import microsoft.exchange.webservices.data.core.enumeration.notification.EventType; import microsoft.exchange.webservices.data.core.enumeration.property.WellKnownFolderName; import microsoft.exchange.webservices.data.core.enumeration.service.DeleteMode; import microsoft.exchange.webservices.data.core.response.GetItemResponse; import microsoft.exchange.webservices.data.core.response.ServiceResponseCollection; import microsoft.exchange.webservices.data.core.service.item.EmailMessage; import microsoft.exchange.webservices.data.core.service.schema.ItemSchema; import microsoft.exchange.webservices.data.credential.ExchangeCredentials; import microsoft.exchange.webservices.data.credential.WebCredentials; import microsoft.exchange.webservices.data.notification.ItemEvent; import microsoft.exchange.webservices.data.notification.NotificationEvent; import microsoft.exchange.webservices.data.notification.NotificationEventArgs; import microsoft.exchange.webservices.data.notification.StreamingSubscription; import microsoft.exchange.webservices.data.notification.StreamingSubscriptionConnection; import microsoft.exchange.webservices.data.notification.StreamingSubscriptionConnection.INotificationEventDelegate; import microsoft.exchange.webservices.data.notification.StreamingSubscriptionConnection.ISubscriptionErrorDelegate; import microsoft.exchange.webservices.data.notification.SubscriptionErrorEventArgs; import microsoft.exchange.webservices.data.property.complex.FolderId; import microsoft.exchange.webservices.data.property.complex.ItemId; import microsoft.exchange.webservices.data.property.complex.MessageBody;
public class EmailRunner2 implements INotificationEventDelegate, ISubscriptionErrorDelegate{
}
The server cannot service this request right now. Try again later. help!!!!