Hi all,

i am working on upgrading client engine from v2 to v3.0 and still have
some problems.
Can someone look on the code of batch operation?

I tried to insert contact entry using code below:

<?xml version='1.0' encoding='UTF-8'?>
  <atom:feed xmlns:atom='http://www.w3.org/2005/Atom'
  xmlns:gContact='http://schemas.google.com/contact/2008'
  xmlns:gd='http://schemas.google.com/g/2005'
  xmlns:batch='http://schemas.google.com/gdata/batch'>
 <category scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/g/2008#contact' />
  <title type="text">smsMemo batch insert</title>
  <entry>
    <batch:id>1</batch:id>
    <batch:operation type='insert' />
    <atom:category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/contact/2008#contact' />
    <gd:name>
        <gd:fullName>name</gd:fullName>
    </gd:name>
    <gd:phoneNumber rel='http://schemas.google.com/g/
2005#mobile'>123456789</gd:phoneNumber>
  </entry>
</atom:feed>

i send this on uri:
http://www.google.com/m8/feeds/contacts/rajchowiak%40gmail.com/full/batch

what i receive is:

<?xml version='1.0' encoding='UTF-8'?>
  <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://
a9.com/-/spec/opensearch/1.1/' xmlns:gContact='http://
schemas.google.com/contact/2008' xmlns:batch='http://
schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/
2005'>
  <id>http://www.google.com/m8/feeds/contacts/rajchowiak%40gmail.com/
full</id>
  <updated>2009-07-09T14:27:17.196Z</updated>
  <title>Batch Feed</title>
  <link rel='http://schemas.google.com/g/2005#feed' type='application/
atom+xml' href='http://www.google.com/m8/feeds/contacts/rajchowiak
%40gmail.com/full'/>
  <link rel='http://schemas.google.com/g/2005#batch' type='application/
atom+xml' href='http://www.google.com/m8/feeds/contacts/rajchowiak
%40gmail.com/full/batch'/>
</feed>

it looks like only information about uri's not reply on my request.
even batch title is different.
can anyone have any suggestion what i do wrong? or batch engine is
wrong on google side??


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to