Just noticed that the url was actually wrong.... i erased default/
from the url and works!

On 29 oct, 19:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm trying to post an event to a calendar using the Zend function:
>
> $newEvent = $service->insertEvent($event, $catId);
>
> $event is an instance of service's newEventEntry();
> $catId is the uri of the calendar and I obtain it using $calendar-
>
> >getSelfLink()->getHref().'/private/full'
>
> The catch of Zend_Gdata_App_HttpException returns
>
> Error: Invalid request URI
>
> And the log returns
>
> Connecting to:www.google.com:80
>
> POST /calendar/feeds/default/96267eshn5p1ctunplocpponfs
> %40group.calendar.google.com/private/full HTTP/1.1
> Host:www.google.com
> Connection: close
> User-Agent: MyCompany-MyApp-1.0 Zend_Framework_Gdata/1.6.1
> authorization: GoogleLogin
> auth=DQAAAHAAAAClB8N_XXXXXXXXXXXXXXXXXXXXXXXXSEZVtVjMwHXm67WDdHkiHOYn9CpJxzbWzRumIphBld4rc-2U6B6kGQgUqcYZ_ztPQyfQCc2T0aLN_wnOTaXLyPkCpAoYrAtaj6520esaot_J7GS4Ku
> Content-Type: application/atom+xml
> Accept-encoding: identity
> Content-length: 825
>
> <atom:entry xmlns:atom="http://www.w3.org/2005/Atom";><atom:title
> type="text">Entrega final final final final de Agenda UC</
> atom:title><atom:content>&lt;![CDATA[&lt;p&gt;&lt;span style="font-
> size: small;"&gt;Ahi va!&lt;/span&gt;&lt;/p&gt;
> &lt;evento&gt;
>         &lt;entrada&gt;150000&lt;/entrada&gt;
>         &lt;unidad_nombre&gt;Rodrigo&lt;/unidad_nombre&gt;
>         &lt;unidad_email&gt;[EMAIL PROTECTED]&lt;/unidad_email&gt;
>         &lt;unidad_telefono&gt;3153267&lt;/unidad_telefono&gt;
>         &lt;unidad_url&gt;http://reactor.cl</unidad_url>
> &lt;/evento&gt;]]&gt;</atom:content><gd:when xmlns:gd="http://
> schemas.google.com/g/2005"
> startTime="2008-10-30T15:00:00:00.000-03:00"
> endTime="2008-10-30T15:30:00:00.000-03:00"/><gd:where xmlns:gd="http://
> schemas.google.com/g/2005" valueString="Reactor - José Miguel de la
> Barra 508 - Of 619"/></atom:entry>HTTP/1.1 400 Bad Request
> Content-Type: text/plain; charset=UTF-8
> Transfer-Encoding: chunked
> Date: Wed, 29 Oct 2008 22:30:22 GMT
> Expires: Wed, 29 Oct 2008 22:30:22 GMT
> Cache-Control: private, max-age=0
> Server: GFE/1.3
> Connection: Close
>
> 13
> Invalid request URI
> 0
>
> Closing socket
>
> So what I'm doing wrong or what's wrong??!!
>
> I would be very pleased with any answer!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to