I am trying to schedule a meeting with Exchange 2007 SP1 using EWS Java API 1.1.3. I created my ExchangeService object like:
s = new ExchangeService(ExchangeVersion.Exchange2007_SP1)
However when I run my code to schedule a meeting I get the error mentioned in the topic. So I tried to set the startTimeZone:
mtg.setStartTimeZone(new TimeZoneDefinition(){{setId("UTC");}});
mtg.setStart(stime);
mtg.setEnd(etime);
And get an error saying the timezone is invalid. I read in another thread that all the timezonedefinitions are invalid and not to use setStartTimeZone. What do I need to do to get my code to work? Thanks in advance.