Facing issue in suggested meeting time in ews-java-api

Hi,
I have a meeting room id , and i want to get Free and Busy schedule of the meeting room , below is the code i am using
List<AttendeeInfo> attendees = new ArrayList<AttendeeInfo>();
attendees.add(new AttendeeInfo([email protected]));
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date startDate = formatter.parse("2015-03-03 00:00:00");
Date endDate = formatter.parse("2015-03-05 00:00:00");
// Call the availability service.
GetUserAvailabilityResults results = exchangService.getUserAvailability(
attendees,
new TimeWindow(startDate, endDate),
AvailabilityData.FreeBusyAndSuggestions);
// Output attendee availability information.
int attendeeIndex = 0;
for (AttendeeAvailability attendeeAvailability : results.getAttendeesAvailability()) {
System.out.println("Availability for " + attendees.get(attendeeIndex).getSmtpAddress());
//if (attendeeAvailability.getErrorCode() == ServiceError.NoError) {
for (CalendarEvent calendarEvent : attendeeAvailability.getCalendarEvents()) {
System.out.println("Calendar event : "+ calendarEvent.getFreeBusyStatus().toString());
System.out.println(" Start time: " + calendarEvent.getStartTime().toString());
System.out.println(" End time: " + calendarEvent.getEndTime().toString());
if (calendarEvent.getDetails() != null)
System.out.println(" Subject: " + calendarEvent.getDetails().getSubject());
// Output additional properties.
attendeeIndex++;
for (Suggestion suggestion : results.getSuggestions()) {
System.out.println("Suggested day: " + suggestion.getDate().toString());
//System.out.println("Overall quality of the suggested day: " + suggestion.getQuality().toString());
for (TimeSuggestion timeSuggestion : suggestion.getTimeSuggestions()) {
System.out.println("Suggested time: " + timeSuggestion.getMeetingTime().toString());
// Output additonal properties.
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
I am getting output like,
Calendar event : Busy
Start time: Tue Mar 03 10:00:00 GMT+05:30 2015
End time: Tue Mar 03 17:00:00 GMT+05:30 2015
Calendar event : Busy
Start time: Wed Mar 04 12:00:00 GMT+05:30 2015
End time: Wed Mar 04 13:00:00 GMT+05:30 2015
Calendar event : Busy
Start time: Wed Mar 04 13:00:00 GMT+05:30 2015
End time: Wed Mar 04 18:30:00 GMT+05:30 2015
Suggested day: Tue Mar 03 00:00:00 GMT+05:30 2015
Suggested time: Tue Mar 03 17:00:00 GMT+05:30 2015
Suggested time: Tue Mar 03 17:30:00 GMT+05:30 2015
Suggested time: Tue Mar 03 18:00:00 GMT+05:30 2015
Suggested time: Tue Mar 03 18:30:00 GMT+05:30 2015
Suggested time: Tue Mar 03 19:00:00 GMT+05:30 2015
Suggested time: Tue Mar 03 19:30:00 GMT+05:30 2015
Suggested time: Tue Mar 03 20:00:00 GMT+05:30 2015
Suggested time: Tue Mar 03 20:30:00 GMT+05:30 2015
Suggested time: Tue Mar 03 21:00:00 GMT+05:30 2015
Suggested time: Tue Mar 03 21:30:00 GMT+05:30 2015
Suggested day: Wed Mar 04 00:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 05:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 06:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 06:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 07:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 07:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 08:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 08:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 09:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 09:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 10:00:00 GMT+05:30 2015
In the above output, for the corresponding date Mar 03, it is showing busy time correctly, but in the suggested time which is free , it is showing until 21.30 only, it need to showed until 23.30 as that also a suggested time which is free, Similarly, in
next day ie. Mar 04, it shows busy time correctly, but suggested time which is free is shown until 10:00 am only, why it is not showing after 10 am. Please help me to solve this issue and how to proceed further to show the remaining free meeting time also.
Thanks,
Akshea.

Hi Jason,
Thanks for your response, your answer works ,i gave max. number of suggestions per day as 48, but i have a doubt,
Suggested day: Wed Mar 04 00:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 11:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 18:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 19:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 19:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 20:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 20:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 21:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 21:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 22:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 22:30:00 GMT+05:30 2015
Suggested time: Wed Mar 04 23:00:00 GMT+05:30 2015
Suggested time: Wed Mar 04 23:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 00:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 00:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 01:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 01:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 02:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 02:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 03:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 03:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 04:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 04:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 05:00:00 GMT+05:30 2015
Suggested day: Thu Mar 05 00:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 05:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 06:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 06:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 07:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 07:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 08:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 10:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 10:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 11:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 11:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 12:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 12:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 13:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 13:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 14:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 14:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 15:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 15:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 16:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 16:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 17:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 17:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 18:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 18:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 19:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 19:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 20:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 20:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 21:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 21:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 22:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 22:30:00 GMT+05:30 2015
Suggested time: Thu Mar 05 23:00:00 GMT+05:30 2015
Suggested time: Thu Mar 05 23:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 00:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 00:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 01:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 01:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 02:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 02:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 03:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 03:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 04:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 04:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 05:00:00 GMT+05:30 2015
Suggested day: Fri Mar 06 00:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 05:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 06:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 06:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 07:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 09:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 09:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 10:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 10:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 11:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 11:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 12:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 12:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 13:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 13:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 14:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 14:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 15:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 15:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 16:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 16:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 17:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 17:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 18:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 18:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 19:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 19:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 20:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 20:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 21:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 21:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 22:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 22:30:00 GMT+05:30 2015
Suggested time: Fri Mar 06 23:00:00 GMT+05:30 2015
Suggested time: Fri Mar 06 23:30:00 GMT+05:30 2015
Suggested time: Sat Mar 07 00:00:00 GMT+05:30 2015
Suggested time: Sat Mar 07 00:30:00 GMT+05:30 2015
Suggested time: Sat Mar 07 01:00:00 GMT+05:30 2015
Suggested time: Sat Mar 07 01:30:00 GMT+05:30 2015
Suggested time: Sat Mar 07 02:00:00 GMT+05:30 2015
Suggested time: Sat Mar 07 02:30:00 GMT+05:30 2015
Suggested time: Sat Mar 07 03:00:00 GMT+05:30 2015
Suggested time: Sat Mar 07 03:30:00 GMT+05:30 2015
Suggested time: Sat Mar 07 04:00:00 GMT+05:30 2015
Suggested time: Sat Mar 07 04:30:00 GMT+05:30 2015
This is my output,
i gave start date from 04-Mar-2015 and end date 07-Mar-2015, so it shows me the meeting suggestion time from 04-Mar to 06-Mar till 23.30, that is fine, but for 07-Mar, it just shows first 10 meeting time only till 4.30 only, y so, on 07-Mar-2015 also it
should give time till 23.30 . right.

Similar Messages

  • [E2010][EWS-XML][JAVA]How to get the properties of meeting rooms in Exchange 2010 using EWS Java API

    When you look at meeting room properties in Outlook 2010, you can see 'City', 'Country/Region' and 'Department' information.
    Is there any way to get this information using EWS Java API? 

    Hi Glen,
    I am able to understand what u have said, but do not know how to implement it with meeting rooms....
    If i am implementing
    "Get all appointments between startDate and endDate in the specified folder, including recurring meeting occurrences" in ews-java-api, as you have mentioned above, i am able to get only my appointments from the start date to end date , as i
    have given my email id and password, how to get my organization meeting room details, booked or not.
    static ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
    public static void main(String[] args) throws Exception {
    // TODO Auto-generated method stub
    ExchangeCredentials credentials = new WebCredentials("[email protected]", "zzzz");
    service.setCredentials(credentials);
    try {
    System.out.println("Check");
    service.autodiscoverUrl("[email protected]",new RedirectionUrlCallback());
    } catch (Exception e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    NameResolutionCollection nameResolutions = service.resolveName("SDB1",ResolveNameSearchLocation.DirectoryOnly, true);
    System.out.println("nameResolutions==="+nameResolutions.getCount());
    for(NameResolution nameResolution : nameResolutions)
    System.out.println("NAME==="+nameResolution.getContact().getDisplayName());
    The above code gives me the output like, the meeting room in my organization with word SDB1 are
    Output:
    nameResolutions===2
    NAME===SDB1- TELCON - 1
    NAME===SDB1-TELCON - 2
     for. eg. I need to know today at what are the appointments in the room SDB1-TELCON2 and who all have booked the room.
    I do not know how to implement for the meeting room can you please help me how to give it.
    Thanks in advance.

  • EWS JAVA API for availability is giving only 10 suggested times in a particular day

    I'm using EWS JAVA API for seeing the availability of contacts who had shared their calender with me. Here in the suggested timings, I can able to see only 10 suggested timings even though there can be more than 10 suggested slots. 
    I would like to check is there any limit  on suggested times ? 
    API is also giving quality of timing like "Good", "Excellent" on what basis this is decided ?

    You can specify the maximum number of suggestions per day using the MaximumResultsByDay parameter (http://msdn.microsoft.com/en-us/library/office/aa565641(v=exchg.150).aspx).
    The quality is determined based on how many attendees are available and is influenced by the GoodThreshold:
    http://msdn.microsoft.com/en-us/library/office/aa563485(v=exchg.150).aspx.

  • EWS JAVA API 1.2 - Setting Meeting Organizer

    Hi,
    I am evaluating EWS java API ver 1.2 for a use case where we could save an appointment directly to the calendar of an organizer.
    Use Case:
    1. An appointment is created
    2. Appointment is sent from a generic mailbox (Service Account)
    3. Auto update the appointment in the organizer's calndar.
    In my case, the mailbox is not the organizer of the meeting and i should have the capability to set the organizer of a meeting to any person i would want to. Currently, i do not see this capability in the API and the organizer is documented as a read-only
    property.
    Could you please suggest on the following:
    1. How can my use case be implemented with current state of the API
    2. Is there a hook where i can customize the API to implement my use case
    3. Is the use case supported in the .Net version of the API

    >>I am using EWS JAVA API 1.2 to connect to Exchange 2007 SP3
    In your request you have set the server version to Exchange2010 eg
    ><t:RequestServerVersion Version="Exchange2010_SP2" /></soap:Header><soap:Body><m:GetFolder>
    So the server is reporting
    >>The specified server version is invalid.
    Which is correct for Exchange 2007 you need to set the server version to
    ><t:RequestServerVersion Version="Exchange2007_SP1" />
    (there are no EWS schema updates in 2007 SP2 or SP2 so this didn't change)
    Cheers
    Glen

  • EWS JAVA API - 1.3 - cannot authenticate NTLM

    Just some line to report my experience with the library EWS JAVA API (ews-java-api found at github).
    I was trying to send email from my java test application via the EWS service published by an Exchange Server with only NTLM authentication enabled.
    The first tries were all unsuccessful, resulting in a authentication problem.
    In the end I found the post 14702764 at stackoverflow (how-to-use-ldap-authentication-for-the-exchange-web-services-connection-in-java) that solved my problem.
    Once I changed the inner class NTLM inside EwsJCIFSNTLMScheme.java as described in the link above, the problem of authentication via NTLM disappeared.
    Following is the error occuring before I changed the libary code:
    2014-09-21 01:19:48,818 INFO  [AuthChallengeProcessor] - NTLM authentication scheme selected
    2014-09-21 01:19:48,940 INFO  [HttpMethodDirector] - Failure authenticating with NTLM <any realm>@test.domail.com:443
    Exception in thread "main" microsoft.exchange.webservices.data.ServiceRequestException: The request failed. null
    at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:63)
    at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:142)
    at microsoft.exchange.webservices.data.ExchangeService.internalCreateItems(ExchangeService.java:464)
    at microsoft.exchange.webservices.data.ExchangeService.createItem(ExchangeService.java:535)
    at microsoft.exchange.webservices.data.Item.internalCreate(Item.java:215)
    at microsoft.exchange.webservices.data.EmailMessage.internalSend(EmailMessage.java:125)
    at microsoft.exchange.webservices.data.EmailMessage.send(EmailMessage.java:253)
    at com.vodafone.spp.test.testews.Main.main(Main.java:40)
    Caused by: java.lang.NullPointerException
    at microsoft.exchange.webservices.data.SimpleServiceRequestBase.readResponse(SimpleServiceRequestBase.java:141)
    at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:50)
    ... 7 more
    This is the code fragment to replace in file EwsJCIFSNTLMScheme.java :
        private class NTLM {
        /** Character encoding */
        public static final String DEFAULT_CHARSET = "ASCII";
        * The character was used by 3.x's NTLM to encode the username and
        * password. Apparently, this is not needed in when passing username,
        * password from NTCredentials to the JCIFS library
        private String credentialCharset = DEFAULT_CHARSET;
        void setCredentialCharset(String credentialCharset) {
               this.credentialCharset = credentialCharset;
        private static final int TYPE_1_FLAGS = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM
                     | NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE
                     | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM2;
        private String generateType1Msg(String host, String domain) {
               jcifs.ntlmssp.Type1Message t1m = new jcifs.ntlmssp.Type1Message(
                            TYPE_1_FLAGS, domain, host);
               return jcifs.util.Base64.encode(t1m.toByteArray());
        private String generateType3Msg(String username, String password,
                     String host, String domain, String challenge) {
               jcifs.ntlmssp.Type2Message t2m;
               try {
                     t2m = new jcifs.ntlmssp.Type2Message(
                                   jcifs.util.Base64.decode(challenge));
               } catch (IOException e) {
                     throw new RuntimeException("Invalid Type2 message", e);
               final int type2Flags = t2m.getFlags();
               final int type3Flags = type2Flags
                            & (0xffffffff ^ (NtlmFlags.NTLMSSP_TARGET_TYPE_DOMAIN | NtlmFlags.NTLMSSP_TARGET_TYPE_SERVER));
               jcifs.ntlmssp.Type3Message t3m = new jcifs.ntlmssp.Type3Message(
                            t2m, password, domain, username, host, type3Flags);
               return jcifs.util.Base64.encode(t3m.toByteArray());

    Hi Andrea
    Did you update to  the latest version of java ews api and see the results ?
    However after changing the inner class NTLM inside as mentioned 14702764  solved your issue.
    We need to check if the latest version of ews api has this value corrected.
    Thanks a lot  for posting the solution as well :)
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • Send a mail on other's behalf using EWS java api

    Hi ,
     I  am using EWS java API for delgate uses.
     I have added a delegate by using following code 
                                DelegateUser newDelegate = new DelegateUser("[email protected]");
       newDelegate.permissions.setInboxFolderPermissionLevel(DelegateFolderPermissionLevel.Editor);
       Mailbox mailbox = new Mailbox("[email protected]");
       ArrayList<DelegateUser> delegates = new ArrayList<DelegateUser>();
       delegates.add(newDelegate);
       service.addDelegates(mailbox, MeetingRequestsDeliveryScope.DelegatesAndMe, delegates);
      it got added sucessfully.
    Now i ([email protected]) am trying to send a mail to somebody won behalf of  "[email protected]".
    How to achive this using java EWS ?
    Below is the message object i have created.
                                    msg = new EmailMessage(service);
    msg.setSubject("Used EWS web services by deepak");
    msg.setBody(MessageBody
    .getMessageBodyFromText("Sent using the EWS Managed API."));
    msg.getToRecipients().add("[email protected]");

    Hi,
    Actually, we have a dedicated support team regarding the Microsoft Exchange Server Development. I recommend you ask your question about EWS java API on our Exchange Server Development forum which is staffed by more experts specializing in this kind of problems.
    For your convenience:
    http://social.technet.microsoft.com/Forums/exchange/en-US/home?forum=exchangesvrdevelopment
    Thanks for your understanding.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Bug in EWS Java API 1.2: Does not support namespace prefix "s" as in "s:Envelope".. Expects "soap:Envelope"

    It can NOT parse ....
    <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo MajorVersion="14" MinorVersion="2" MajorBuildNumber="309
    " MinorBuildNumber="3" Version="Exchange2010_SP2" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns
    :xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body><m:GetFolderResponse xmlns:m="http://schemas.microsoft.com/exchange/service
    s/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetFolderResponseMessage ResponseClass="Success"><m:ResponseCode>NoError</m:Respo
    nseCode><m:Folders><t:CalendarFolder><t:FolderId Id="AAMkADExNjY4ZWRmLWIwN2YtNDAxMS05ZjEzLTg3YTRiMjQ0ZGY3ZQAuAAAAAADU0n/e4OgzQYvxnEFT1sxPAQA1LVqe3bVEQ6g4HVLTxYapAFiIzwa6AAA=" ChangeKey="AgA
    AABYAAACUAPkRiik5TYV1B0n4GmWXAAAAAj0P"/><t:ParentFolderId Id="AAMkADExNjY4ZWRmLWIwN2YtNDAxMS05ZjEzLTg3YTRiMjQ0ZGY3ZQAuAAAAAADU0n/e4OgzQYvxnEFT1sxPAQA1LVqe3bVEQ6g4HVLTxYapAFiI0lHWAAA=" Chang
    eKey="AQAAAA=="/><t:FolderClass>IPF.Appointment</t:FolderClass><t:DisplayName>Calendar</t:DisplayName><t:TotalCount>2</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:EffectiveRig
    hts><t:CreateAssociated>true</t:CreateAssociated><t:CreateContents>true</t:CreateContents><t:CreateHierarchy>true</t:CreateHierarchy><t:Delete>true</t:Delete><t:Modify>true</t:Modify><t:Rea
    d>true</t:Read><t:ViewPrivateItems>true</t:ViewPrivateItems></t:EffectiveRights><t:PermissionSet><t:CalendarPermissions><t:CalendarPermission><t:UserId><t:DistinguishedUser>Default</t:Disti
    nguishedUser></t:UserId><t:CanCreateItems>false</t:CanCreateItems><t:CanCreateSubFolders>false</t:CanCreateSubFolders><t:IsFolderOwner>false</t:IsFolderOwner><t:IsFolderVisible>false</t:IsF
    olderVisible><t:IsFolderContact>false</t:IsFolderContact><t:EditItems>None</t:EditItems><t:DeleteItems>None</t:DeleteItems><t:ReadItems>TimeOnly</t:ReadItems><t:CalendarPermissionLevel>Free
    BusyTimeOnly</t:CalendarPermissionLevel></t:CalendarPermission><t:CalendarPermission><t:UserId><t:DistinguishedUser>Anonymous</t:DistinguishedUser></t:UserId><t:CanCreateItems>false</t:CanC
    reateItems><t:CanCreateSubFolders>false</t:CanCreateSubFolders><t:IsFolderOwner>false</t:IsFolderOwner><t:IsFolderVisible>false</t:IsFolderVisible><t:IsFolderContact>false</t:IsFolderContac
    t><t:EditItems>None</t:EditItems><t:DeleteItems>None</t:DeleteItems><t:ReadItems>None</t:ReadItems><t:CalendarPermissionLevel>None</t:CalendarPermissionLevel></t:CalendarPermission></t:Cale
    ndarPermissions></t:PermissionSet></t:CalendarFolder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse></s:Body></s:Envelope>
    microsoft.exchange.webservices.data.ServiceRequestException: The request failed. An element node 'soap:Envelope' of the type START_ELEMENT was expected, but node '{http://schemas.xmlsoap.or
    g/soap/envelope/}Envelope' of type START_ELEMENT was found.
            at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:51)
            at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:142)
            at microsoft.exchange.webservices.data.ExchangeService.bindToFolder(ExchangeService.java:346)
            at microsoft.exchange.webservices.data.ExchangeService.bindToFolder(ExchangeService.java:370)
            at microsoft.exchange.webservices.data.Folder.bind(Folder.java:50)
            at microsoft.exchange.webservices.data.Folder.bind(Folder.java:69)
            at com.tsg.ews.GetItemWorker.run(GetItemWorker.java:252)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: microsoft.exchange.webservices.data.ServiceXmlDeserializationException: An element node 'soap:Envelope' of the type START_ELEMENT was expected, but node '{http://schemas.xmlsoap.
    org/soap/envelope/}Envelope' of type START_ELEMENT was found.
            at microsoft.exchange.webservices.data.EwsXmlReader.internalReadElement(EwsXmlReader.java:114)
            at microsoft.exchange.webservices.data.EwsXmlReader.readStartElement(EwsXmlReader.java:618)
            at microsoft.exchange.webservices.data.ServiceRequestBase.readResponse(ServiceRequestBase.java:450)
            at microsoft.exchange.webservices.data.SimpleServiceRequestBase.readResponse(SimpleServiceRequestBase.java:101)
            at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:38)

    After these change still I am getting this kind of Error:
    microsoft.exchange.webservices.data.ServiceRequestException
        at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:63)
        at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:142)
        at microsoft.exchange.webservices.data.ExchangeService.internalFindFolders(ExchangeService.java:202)
        at microsoft.exchange.webservices.data.ExchangeService.findFolders(ExchangeService.java:257)
        at ci.cryoserver.ews.EWSUtils.testEWSWebService(Unknown Source)
        at org.apache.jsp.save_005fimap_005fmailbox_005freader_005fuserinfo_jsp._jspService(save_005fimap_005fmailbox_005freader_005fuserinfo_jsp.java:453)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at ci.cryoserver.frontend.filter.CompanyTagFilter.doFilter(CompanyTagFilter.java:69)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at ci.cryoserver.ntlm.CryoHttpSecurityFilter.doFilter(CryoHttpSecurityFilter.java:105)
        at ci.cryoserver.ntlm.SSOFilter.doFilter(SSOFilter.java:66)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at ci.cryoserver.ntlm.NTLMPostFilter.doFilter(NTLMPostFilter.java:39)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at ci.cryoserver.frontend.filter.CharsetFilter.doFilter(CharsetFilter.java:152)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: microsoft.exchange.webservices.data.ServiceXmlDeserializationException: An element node 'soap:Header' of the type START_ELEMENT was expected, but node '{http://schemas.xmlsoap.org/soap/envelope/}Body' of type START_ELEMENT was found.
        at microsoft.exchange.webservices.data.EwsXmlReader.internalReadElement(EwsXmlReader.java:121)
        at microsoft.exchange.webservices.data.EwsXmlReader.readStartElement(EwsXmlReader.java:625)
        at microsoft.exchange.webservices.data.ServiceRequestBase.readSoapHeader(ServiceRequestBase.java:565)
        at microsoft.exchange.webservices.data.ServiceRequestBase.readResponse(ServiceRequestBase.java:525)
        at microsoft.exchange.webservices.data.SimpleServiceRequestBase.readResponse(SimpleServiceRequestBase.java:171)
        at microsoft.exchange.webservices.data.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:49)
        ... 40 more
    This Account is working perfectly with autodiscovery mode. any fix for this ?

  • Adding and Modifying Calendar w/ EWS JAVA API

    Hello -
      The functionality that I want to achieve is pull appointment information in from a source and then use this information to appointment on to calendar of users. Each user will have different appointments. With the JAVA API how do I go about doing this
    as an Exchange admin user or something similar?
    Thank you,

    Hello -
      The functionality that I want to achieve is pull appointment information in from a source and then use this information to appointment on to calendar of users. Each user will have different appointments. With the JAVA API how do I go about doing this
    as an Exchange admin user or something similar?
    Thank you,

  • Issue with new EWS Java 1.2 license and ambiguity

    If this isn't the proper place for this thread, then please let me know where it should go.
    I noticed that EWS Java 1.2 has been marked with an Apache 2.0 license. Let me just say this...
    FINALLY!
    If ever there was a project that needed it, it's EWS Java. That API has seemingly turned into abandonware and the old license forbade redistribution of modified source, so the many bugs in it had to be independently fixed by devs around the world. Not fun.
    With a proper open source license, this problem can be alleviated.
    HOWEVER...
    After downloading the zip file from the new EWS Java page, I've found that while the Apache 2.0 license is present in the root directory, the earlier and more restrictive license is still present in the project directory. This introduces ambiguity into the
    license terms. Not good. I would not be comfortable redistributing modified (or even original) source code with this kind of ambiguity, even if it's just an oversight on Microsoft's part. Please remove the old license entirely from the API.
    Also, if possible, can this get an official repository? The new license is great, but with only a zip file as an "official" source, it's begging for fragmentation across who-knows-how-many repositories and accounts, especially since it's not even
    a proper Maven project.
    I'd love to do some work on EWS Java myself (I've already fixed a number of bugs), but with the license issues and lack of an official repository, that doesn't seem terribly feasible.

    I'm not sure if you're going to be able to reliably find an actual fulltime MSFT person (especially targeted towards a specific product group) in any of these forums. You might try posting a comment on this blog post though, that might help get someone's
    attention:
    http://blogs.msdn.com/b/exchangedev/archive/2013/01/03/ews-java-api-1-2-get-started.aspx?Redirected=true#comments
    We do have a Microsoft employee who moderates this forum, but since this forum is only meant for feedback on the defunct TechNet subscriptions I don't think he'll be able to help you out very much. We'll see though, maybe Mike has some Exchange team connections
    that I don't know about.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Issue with EWS Java 1.2 license ambiguity

    If this isn't the proper place for this thread, then please let me know where it should go.
    I noticed that EWS Java 1.2 has been marked with an Apache 2.0 license. Let me just say this...
    FINALLY!
    If ever there was a project that needed it, it's EWS Java. That API has seemingly turned into abandonware and the old license forbade redistribution of modified source, so the many bugs in it had to be independently fixed by devs around the world. Not fun.
    With a proper open source license, this problem can be alleviated.
    HOWEVER...
    After downloading the zip file from the new EWS Java page, I've found that while the Apache 2.0 license is present in the root directory, the earlier and more restrictive license is still present in the project directory. This introduces ambiguity into the
    license terms. Not good. I would not be comfortable redistributing modified (or even original) source code with this kind of ambiguity, even if it's just an oversight on Microsoft's part. Please remove the old license entirely from the API.
    Also, if possible, can this get an official repository? The new license is great, but with only a zip file as an "official" source, it's begging for fragmentation across who-knows-how-many repositories and accounts, especially since it's not even
    a proper Maven project.
    I'd love to do some work on EWS Java myself (I've already fixed a number of bugs), but with the license issues and lack of an official repository, that doesn't seem terribly feasible.

    I'm not sure if you're going to be able to reliably find an actual fulltime MSFT person (especially targeted towards a specific product group) in any of these forums. You might try posting a comment on this blog post though, that might help get someone's
    attention:
    http://blogs.msdn.com/b/exchangedev/archive/2013/01/03/ews-java-api-1-2-get-started.aspx?Redirected=true#comments
    We do have a Microsoft employee who moderates this forum, but since this forum is only meant for feedback on the defunct TechNet subscriptions I don't think he'll be able to help you out very much. We'll see though, maybe Mike has some Exchange team connections
    that I don't know about.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Problem: Socket connection is not creating in machine, through utility program (MFC Dll), on ListDisplay service port - 3334 (on separate machine), while we are able to telnet on same ListDisplay service port - 3334 from same issue machine on same time

    Problem: Socket
    connection is not creating in machine, through utility program (MFC Dll), on ListDisplay service port - 3334 (on separate machine), while we are able to telnet on same ListDisplay service port - 3334 from same issue machine on same time
    Environment: -
    OS:
    Windows XP SP2/7
    Code:
    VC 6.0
    Dll: MFC
    Problem Description: -
    We have written a utility program which create socket (Using windows standard method [MFC]), and then make connection with another service (List Display) running
    on port 3334 in different machine and retrieve the required list data. This program was working fine in almost all the machines.
    But, we have received a severe intermittent issue on two machines. Client is facing issue in displaying the list data from port 3334.
    Attempt: -
    First we tried to debug code, and we come to know that socket is not creating in utility program. So we tried to telnet on ListDisplay service port 3334 and we were surprised that we were able to telnet, then we opened some more
    telnet window on same port 3334 around (6 to 8) window, and each cmd connected properly. But we were not able to create socket from utility program.
    Problem is severe because issue is intermittent.
    We have tried all the way, but we are not able to figure it out, that what can be the exact problem and what are the conditions, when utility program will not
    connect with ListDisplay service on port 3334.
    Kindly assist to resolve this issue. For any help, we would be really thankful.

    Hi,
    According to your description, it seems that you have created an utility program which is making connection with another service port 3334, however, two clients are facing issue in display the data list from port 3334.
    Port: 3334/TCP
    3334/TCP - Known port assignments (1 record found)
    Service
    Details
    Source
    directv-web
    Direct TV Webcasting
    IANA
    Since the port 3334 is used by directv-web service, I'd like to suggest check this service it is working well on the problematic clients.
    1. The client can be resolved in DNS well? Please run "nslookup" in the prompt command.
    2. Is there any 3rd party application interrupting? Do test in clean boot.
    2. Strongly suggest you run process monitor tool to analysis it.
    I am looking forward to your reply if you have any updated on your side.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Propose A New Meeting Time

    If I receive a calendar invite, and I want to attend the meeting, but I can't on that particular time. have do I propose a new meeting time? like it is possible in outlook (http://office.microsoft.com/en-us/outlook/HP100070381033.aspx).

    I am faced with the same issue. I am surprised that this is not supported in iCal (or atleast I am not sure if it is).

  • Synching Treo 600 with I Cal alters meeting time by one hour?

    When preforming a synch with I CAL, all meeting times, Flight times etc were moved back one hour! Having now manually corrected the Schedule on the TREO what can I do to prevent this from recurring the next time I synch with Ical? Can I make the Treo Schedule override the now incorrect times on ICAL?

    Hi,
    Time zone issues have always been a pain in the you know what.
    Here is what the guys at Mark/Space gave me a long time ago. Maybe it will work with your situation.
    Ho Boy do I hate those 1 hour off time shift (ST-DT) issues, they are my worst nightmare. Because it is always a case by case solution, never got a single solution to work twice.
    So I will have to give you my check list, so you can go throuth it. The big picture is, making some backups, reset the pram on the Mac. Do the check list, finally do an overwrite of the handheld with the desktop data.
    Here we go.
    Do some backups first by following those simple steps
    1. Go to Address Book, click on 'File' menu and choose 'Back up Address Book'. Go to iCal, click on 'File' menu and choose 'Back up database'.
    2. Go to Missing Sync and double click on the Backup Conduit and set it to backup all databases. Then run the sync with just that Backup conduit selected, disable all other conduits.
    3. Go to: /Users/<user name>/Documents/Palm/Users/<hotsync name>/ now hold the 'ctrl' key and click on the /Backups/ folder. Choose the option to 'Create Archive of "Backups"'. This is to safeguard your backed up data in case anything goes wrong.
    Reset PRAM
    Shut down your computer, as soon as you start your computer press and hold command-option-P-R keys simultaneously until you hear the chime start up sound 3 times. Then let go of the keys.
    Support Reps and Engineers have met over this issue of Time Zones. There are some grey zones that still need to be addressed, either by us, Apple's iCal team or Palm.
    Here is a list of items that you need to verify or correct.
    1) Launch iCal, in the iCal menu go to Preferences, in the toolbar, click "Advanced", make sure that "Turn on time zone support" is unchecked.
    2) On your device, launch you calendar, menu Preferences, uncheck "New events use time zones".
    3) Check for new firmware updates available for your device. http://www.palm.com/us/support/downloads/
    4) Verify your location and time. (Ex: if your location is not listed in the selections you can add it).
    To add your location, tap location, go to "edit list", in the new window tap "add", you will see a list of Cities, go down the list to "Your Location" and add it to the your list.
    5) On your Mac, in the System Preferences, open the Date & Time pane, check your "Time Zone". Make sure that it is the same as your Treo.
    6) On your device, tap on the TimeCopy application use the drop-down menu to select Option and then Preference, you can modify to "Update" at Local time only.
    7) If you are using third-party Calendar applications (such as DateBK 5, Agendus etc.) consult your user documentation or contact the appropriate technical support representative.
    Go to iCal, click on 'File' menu and choose 'Back up database'. Modify the name of the backup so that it won't overwrite the one you did earlier.
    I suggest that you 'Reset Sync History' using the iSync preferences option. The first sync will likely be slower.
    1) Launch iSync
    2) Click on the iSync menu
    3) Choose Preferences (make sure the "Enable syncing on this computer" is checked)
    4) Click the 'Reset Sync History' button. Read and follow the onscreen directions.
    5) This may launch iCal. Also the status of the reset is showing in the iSync display. When the reset is complete quit both iSync and iCal.
    Launch Missing Sync and enable the Mark/Space Contacts, Events and Tasks conduits and set them to Desktop overwrite Handheld. Disable all other conduits.
    Then sync, when you do, you will get a dialog box with an orange iSync icon on it. Check the box to erase the device, then click the 'Allow' button. It will overwrite your device. You will get one for events, one for tasks, and one for contacts. The next time you sync .mac or other devices that sync with iSync like an iPod, you will get these same dialog boxes for their databases and you should check the box and click 'Allow' in those cases as well.
    Good luck...

  • Anybody facing issues on vodafone in bangalore for iphone 5s. horrible voice breaking occurs.

    anybody facing issues on vodafone in bangalore for iphone 5s. horrible voice breaking occurs. Really frustrting as voice calls break and automaticcaly gets disconnected.

    My current phone is not working. The iOS 8 update has made my phone go from a joy to have to something I want to throw away. I would like to uninstall my update and go back to loving my Iphone again. Can you please help? I've sent numerous messages with no response. I'm trying to stay loyal to Apple however if your only suggestion is to purchase another phone it might not be an Apple product anymore. I'm offering an opportunity to save a client who has multiple Apple products.

  • In iCal, "Available Meeting Times" greys out working hours one day off, MS Exchange

    I am using iCal, accessing an MS Exchange server. When setting up a meeting, "Available Meeting Times" greys out the non-working hours of potential meeting participants. However, the days are one day off. E.g. the working hours of my collegues are displayed are Tuesday-Sunday instead of Monday-Friday. The dates and times of meetings are relayed correctly. Only the display of the working hours seems to be off.
    Needless to say that my collegues are using Windows Outlook, and everything works there.

    I still have the same issue. Had it ever since at least 2010 and meanwhile we switched Exchange-Servers and I'm on Mavericks, but still. Looks to me as if iCal requests something like "getWorkDays" from teh Server. The Server probably replies [2,3,4,5,6]. When the week starts on Sunday, this is perfectly fine. But if the Week starts on Monday, this will give you Tue-Sat as available Days. So it might be a bug in either Exchange or iCal to treat that information correctly, but I'm not obv. not sure about that.

Maybe you are looking for

  • RAID Backup Schema?

    I've a Mac Pro with the default 250GB HDD as the system drive. I also added a RAID 0 with two 400 GB WD HDDs giving me a fairly fast 745GB secondary 'drive' that I use for most of my larger projects. I realize that I've now doubled the chances of a H

  • How I can change timescale to show financial year

    Hi I am currently facing a problem for timescale. Actually my projects working according to financial years and PM's want to see the bar chart accordingly.Even they want to see the FY / quater view in time scale. Is there any way to get that view in

  • Problem starting managed server using Node Manager/WL 7

    I have just configured Node Manager for the first time to start a managed server, following the documentation 'Managing Server Availability with Node Manager'. However when I attempt to start the managed server from the Administration Console I alway

  • Where do i get the new update for i tunes?

    Do u know where do i get the new update for i tunes?

  • Most native apps crashing after software update

    I did a software update, then tried using iWeb for the first time... I go to publish and crash, I go to open inspector, crash. Now after installing latest quicktime update, mail won't stay running, pretty much everything is falling down around me in