Hi,

I am new to the Google Base Data API and am trying to write a simple
program which will automate uploads of my product database to Google
Base. My current implementation calls service.Insert() repeatedly to
upload all the product data. This works most of the time -- sometimes
I get an "Authentication Required" error, sometimes not. I don't know
why this is the case, because I have currently hard-coded my username
and password in (later I will make them configurable) and they are not
changing. There is no observable pattern to the failures.

Also, the upload currently seems quite slow. I imagine that a batch
insert would likely be much faster -- is this the case? I would like
to implement the batch insert and see if there is any difference in
this regard, but the Developer's Guide and all the other documentation
I have been able to find are of little help. There is one example in
the docs showing how to formulate the XML for a batch insert, but if
it is possible to do it using just a few method calls, I would prefer
to do that rather than generating the XML manually. There is also an
example using the Java client library -- I am sure the C# API is quite
similar, but the example leaves some important steps out so it also
does not solve my problem.

I have been clicking through the C# client library API docs for a
couple hours -- they just show what classes and methods are available,
but do not explain what each class/method is for. If anyone can point
me in the right direction, it would be much appreciated...

To make it really simple this is what I need: I have a GBaseService
object and a bunch of GBaseEntry objects. How do I upload all the
Entry objects in one go rather than inserting them one by one?

Thanks,
Alex Dowad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base 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-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to