Hi,
i try to create an event and add participant to it. If i only create
the event without other participant than myself, it works like a
charm. But, if i add the code below to add the participants, i get a
com.google.gdata.util.ResourceNotFoundException
That is my code to add participant :
for (Iterator iterator = actionCo.getInterlocutors();
iterator.hasNext();) {
InterlocutorBean interlocutor = (InterlocutorBean)
iterator.next();
EventWho interlocutorAttending = new EventWho();
interlocutorAttending.setRel(com.google.gdata.data.extensions.Who.Rel.EVENT_ATTENDEE);
interlocutorAttending.setValueString(interlocutor.getEmail());
interlocutorAttending.setAttendeeStatus(AttendeeStatus.EVENT_ACCEPTED);
interlocutorAttending.setAttendeeType(AttendeeType.EVENT_REQUIRED);
eventEntry.getParticipants().add(interlocutorAttending);
}
I get :
com.google.gdata.util.ResourceNotFoundException: Not Found
<HTML>
<HEAD>
<TITLE>Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Not Found</H1>
<H2>Error 404</H2>
</BODY>
</HTML>
If i remove the code above, there is no problem in creating the event.
Did i miss something ?
Thanks,
Thomas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---