Hello,
I have problems to submit a batch request with multiple operation in google calendar,
Steps to reproduce issue:
- XML to send:
Delete Event nome evento 2
http://www.google.com/calendar/feeds/default/events/1uh65miv6ovviv7ttl0r8v6l58
Insert EventEvento da aplicacao
Evento da aplicacao
teste Desc
- XML to send:
Delete Event nome evento 2
http://www.google.com/calendar/feeds/default/events/1uh65miv6ovviv7ttl0r8v6l58
Insert EventEvento da aplicacao
Evento da aplicacao
teste Desc
Then I send to the URL: https://www.google.com/calendar/feeds/default/private/full
With de Auth returned from login,
HttpConnection hct = (HttpConnection)Connector.open(url);
hct.setRequestMethod(RequestMethod);
hct.setRequestProperty("Content-Type", PropertyContent_Type);
hct.setRequestProperty("Content-Length", Integer.toString(message.length()));
hct.setRequestProperty("GData-Version", "2");
hct.setRequestProperty("Authorization", "GoogleLogin " + AuthToken)
2.
The response off the server is:
<feed gd:kind="calendar#eventFeed">
<updated>2010-09-07T14:17:19.755Z</updated>
<category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/g/2005#event"/>
−
<entry>
<updated>2010-09-07T14:17:19.755Z</updated>
<title>Fatal Error</title>
<content>Feed processing was interrupted.</content>
<batch:interrupted error="0" parsed="0" reason="Content is not allowed in prolog." success="0" unprocessed="0"/>
</entry>
</feed>