Thanks for yhe reply.
How do I give Google Base support for more than 3 regions?
I've adusted my code and now this is how it is:
Private Sub btEnviar_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btEnviar.Click
Dim entry As New GBaseEntry
With entry
.Title.Text = "Rui Oliveira's test"
.Content.Content = "xml"
.GBaseAttributes.ItemType = "housing"
.GBaseAttributes.AddFloatAttribute("bathrooms", 1.0)
.GBaseAttributes.AddFloatAttribute("rooms", 1.0)
.GBaseAttributes.AddFloatAttribute("bedrooms", 1.0)
.GBaseAttributes.AddFloatAttribute("price", 750.0)
.GBaseAttributes.AddTextAttribute("price_type", "starting
at")
.GBaseAttributes.AddTextAttribute("property_type", "condo/
townhouse")
.GBaseAttributes.Location = "1600 Amphitheatre Pkwy,
Mountain View, CA 94043"
End With
Dim service As New GBaseService("Google-Tutorial-1.0",
Parametros.DeveloperKey)
service.setUserCredentials(Parametros.UserName,
Parametros.PassWord)
Try
Dim myEntry As GBaseEntry = service.Insert
(GBaseUriFactory.Default.ItemsFeedUri, entry)
Catch ex As GDataRequestException
MessageBox.Show(ex.ToString())
End Try
End Sub
The error that is given is:
Inner Exception: Server not found(404)
Response String: "<errors><error type="request" reason="Service not
found"/></errors>"
message: ex{"Execution of request failed:
http://www.google.com/base/feeds/items"}
I don't know what is causing this. Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---