Hi Alain,

I have mailed you the XML format of the contact privately.
Have a look at it and do let us know the problem.

Thanks,
Vijayraj

On Sat, Aug 6, 2011 at 12:01 AM, Alain Vongsouvanh <[email protected]>wrote:

> Hello Vijayraj,
>
> Sorry about the delay in getting back to you! You can see an example of how
> to set a logger in 
> ContactsExample.java<http://code.google.com/p/gdata-java-client/source/browse/trunk/java/sample/contacts/ContactsExample.java?r=498#585>
> You can add the query parameter "prettyprint=true" to have the Atom
> prettyprinted.
>
> I hope this helps!
> Best,
> Alain
>
> On Wed, Aug 3, 2011 at 2:28 AM, Vijayraj Chauhan <[email protected]>wrote:
>
>> Hi Alain,
>>
>> Thanks for the reply.
>>
>> Can you please tell me how to get the XML format of the contact. We are
>> using 2 Legged OAuth java client library and this is the line where we
>> are getting the error mentioned earlier
>>
>>      * ContactFeed  resultFeed = conService.getFeed(feedUrl,
>> ContactFeed.class)*
>> *
>> *
>> where *feedUrl *="
>> https://www.google.com/m8/feeds/contacts/default/[email protected]
>> "
>>
>> Thanks,
>> Vijayraj
>>
>> On Mon, Aug 1, 2011 at 9:50 PM, Alain Vongsouvanh <[email protected]>wrote:
>>
>>> Hello Vijayraj,
>>>
>>> Can you try printing the XML value of the contact? You might have to use
>>> raw HTTP access or debug features of the client library in order to have
>>> access to this information.
>>> There might be a value that breaks the XML parser used by the client
>>> library.
>>>
>>> Best,
>>> Alain
>>>
>>>
>>> On Thu, Jul 28, 2011 at 10:11 PM, Vijayraj Chauhan <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am trying to fetch the contacts of the user who have an account in
>>>> google apps marketplace. While fetching the contact i get the following
>>>> error
>>>>
>>>> * com.google.gdata.util.ParseException: The prefix "atom" for element 
>>>> "atom:cc" is not bound.      at 
>>>> com.google.gdata.util.XmlParser.parse(XmlParser.java:695)|
>>>>       at com.google.gdata.util.XmlParser.parse(XmlParser.java:568)|
>>>>       at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:793)|
>>>>       at 
>>>> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:68)|
>>>>       at 
>>>> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:39)|
>>>>       at 
>>>> com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:)|
>>>>       at 
>>>> com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:52)|...*
>>>>
>>>> I get this error only for a particular user in that domain. It works fine 
>>>> when i try to fetch the contacts for other users in that same domain.
>>>>
>>>> I have searched in the forum, but it seems no one have posted about this 
>>>> issue. Kindly help me in resolving this issue.
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Vijayraj
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *
>>>> *
>>>>
>>>>  --
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> Alain Vongsouvanh
>>>
>>>
>>>
>>>  --
>>> 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
>>>
>>
>>  --
>> 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
>>
>
>
>
> --
> Alain Vongsouvanh
>
>
>
>  --
> 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
>

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