I tried the same data with one modification (give space between
xmlns:atom & xmlns:gd i.e, <atom:entry xmlns:atom='http://www.w3.org/
2005/Atom' xmlns:gd='http://schemas.google.com/g/2005'> ) and it added
to google server successfully.

Please try the same,

Regards,
Satish bellapu

On May 3, 2:23 am, "[email protected]"
<[email protected]> wrote:
> Hi all,
>
> I have checked all other forum answsers but none have helped me with
> this problem although many have the same problem. I am trying to
> create a new contact and I post to "https://www.google.com/m8/feeds/
> contacts/default/full" with the following body:
>
> <atom:entry xmlns:atom='http://www.w3.org/2005/Atom'xmlns:gd='http://
> schemas.google.com/g/2005'>
> <atom:category scheme='http://schemas.google.com/g/2005#kind'
> term='http://schemas.google.com/contact/2008#contact'/>
> <gd:name>
> <gd:givenName>Angela</gd:givenName>
> <gd:familyName>Francke</gd:familyName>
> </gd:name>
> <gd:email rel='http://schemas.google.com/g/2005#other'
> address='[email protected]'/>
> </atom:entry>
>
> The header is (authcode replaced by a dummy value here ;) ):
>
> Content-Type: application/atom+xml
> GData-Version: 3.0
> Content-length: 463
> Authorization: GoogleLogin auth=xxx
>
> Help? I am able to retrieve contacts without any problem but creating
> and edditing does not seem to work.
>
> Thanks!
> Peter

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html

Reply via email to