Hi
Yes sure. Here I have shown the Response getting below that is missing
the links.
I have highlighted the missing link
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version='1.0' encoding='UTF-8'?><atom:feed xmlns:atom='
http://www.w3.org/2005/Atom' xmlns:openSearch='
http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gContact='
http://schemas.google.com/contact/2008' xmlns:batch='
http://schemas.google.com/gdata/batch' xmlns:gd='
http://schemas.google.com/g/2005'>
<atom:id>
http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/full
</atom:id>
<atom:updated>2009-05-15T08:09:11.074Z</atom:updated>
<atom:title type='text'>Batch Feed</atom:title>
<atom:link rel='http://schemas.google.com/g/2005#feed'
type='application/atom+xml' href='
http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/full'/>
<!-- here <atom:link rel=http://schemas.google.com/g/2005#post> is missing.
-->
<atom:link rel='http://schemas.google.com/g/2005#batch'
type='application/atom+xml' href='
http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/full/batch'/
>
<atom:entry>
<atom:id>
http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/base/3db103238971db25
</atom:id>
<atom:updated>2009-05-15T08:09:11.062Z</atom:updated>
<atom:category scheme='http://schemas.google.com/g/2005#kind' term='
http://schemas.google.com/contact/2008#contact'/>
<atom:title type='text'>TEST</atom:title>
<atom:link rel='http://schemas.google.com/contacts/2008/rel#edit-photo'
type='image/*' href='
http://www.google.com/m8/feeds/photos/media/test.gcontacts%40gmail.com/3db103238971db25/1B2M2Y8AsgTpgAmY7PhCfg'/
>
<atom:link rel='self' type='application/atom+xml' href='
http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/full/3db103238971db25'/
>
<atom:link rel='edit' type='application/atom+xml' href='
http://www.google.com/m8/feeds/contacts/test.gcontacts%40gmail.com/full/3db103238971db25/1242374951062000'/
>
<batch:status code='201' reason='Created'/>
<batch:operation type='insert'/>
</atom:entry>
</atom:feed>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
On Fri, May 15, 2009 at 8:35 PM, Julian (Google) <[email protected]> wrote:
>
> Hi,
>
> I am not able to reproduce exactly the error you describe, please if
> possible post also the other Response that is missing the links
> relations.
>
> Thanks,
> Julian.
>
> On May 15, 9:51 am, Test <[email protected]> wrote:
> > Hi all,
> >
> > My question is that while doing the batch operation in Google as
> > XML request and response, whether the response will change after some
> > days?
> > I have done a batch operation for insert.Below is the request and
> > the corresponding response I was getting till yesterday.
> >
> > REQUEST
> > ----------------------------------------------------
> > <?xml version='1.0' encoding='UTF-8'?>
> > <feed xmlns='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'/>
> > <entry>
> > <batch:operation type='insert' />
> > <category scheme='http://schemas.google.com/g/2005#kind'
> > term='http://schemas.google.com/g/2008#contact'/
> >
> > <title type='text'>TEST</title>
> > </entry>
> > </feed>
> >
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > RESPONSE
> >
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> > <atom:feed xmlns:batch="http://schemas.google.com/gdata/batch"
> > xmlns:gContact="http://schemas.google.com/contact/2008"
> > xmlns:atom="http://www.w3.org/2005/Atom" xmlns:gd="http://
> > schemas.google.com/g/2005" xmlns:openSearch="http://a9.com/-/spec/
> > opensearchrss/1.0/">
> > <atom:id></atom:id>
> > <atom:updated></atom:updated>
> > <atom:title type="text">Batch Feed</atom:title>
> > <atom:link rel="http://schemas.google.com/g/2005#feed"
> > type="application/atom+xml" href="http://www.google.com/m8/feeds/
> > contacts/test.scf%40gmail.com/full"/>
> > <atom:link rel='http://schemas.google.com/g/2005#post'
> > type='application/atom+xml' href='http://www.google.com/m8/feeds/
> > contacts/test.scf%40gmail.com/full'/>
> > <atom:link rel="http://schemas.google.com/g/2005#batch"
> > type="application/atom+xml" href="http://www.google.com/m8/feeds/
> > contacts/test.scf%40gmail.com/full/batch"/>
> > <atom:entry>
> > <atom:id></atom:id>
> > <atom:updated></atom:updated>
> > <atom:category scheme="http://schemas.google.com/g/2005#kind"
> > term="http://schemas.google.com/contact/2008#contact"/>
> > <atom:title type="text">TEST</atom:title>
> > <atom:link rel="http://schemas.google.com/contacts/2008/rel#edit-
> > photo" type="image/*" href="http://www.google.com/m8/feeds/photos/
> > media/test.scf%40gmail.com/18117d8c89228896/1B2M2Y8AsgTpgAmY7PhCfg"/>
> > <atom:link rel="self" type="application/atom+xml" href="
> http://www.google.com/m8/feeds/contacts/test.scf%40gmail.com/full/18117d8c89..
> ."/>
> > <atom:link rel="edit" type="application/atom+xml" href="
> http://www.google.com/m8/feeds/contacts/test.scf%40gmail.com/full/18117d8c89..
> ."/>
> > <batch:status reason="Created" code="201"/>
> > <batch:operation type="insert"/>
> > </atom:entry>
> > </atom:feed>
> >
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > You will be seeing 3 <atom:link> tags for #feed,#post,#batch after
> > <atom:title type="text">Batch Feed</atom:title> tags here.
> >
> > But Today I am not getting the entire line containing the <atom:link
> > rel='http://schemas.google.com/g/2005#post> in my response though the
> > contact is getting inserted into google..It would be a tough task if
> > the response is getting changed from time to time for the same
> > request.
> > Can anybody check on this issue?
> >
> > Thanks,
> > Test
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---