I can put the feed url in the browser and all is well, but I can't seem to get a response using the code below
function GetFeed()
{
var r = Web.Network.createRequest(
Web.Network.Type.XML,
m_feedUrl,
{proxy:"generic", numItems:m_numItems},
OnFeedReceived);
r.execute();
}
Is the m_feedUrl just too long maybe
Any help would be greatly appreciated!

Can't get xml back from Amazon Web Service?
sam1996
This is the xml response I get when I monitor it with Firefox
Bartosz
Finally got it to work... Seems something is wrong with the xml it returns although I cannot figure out what, but selectnodes does not work, however a workaround is to use getElementsByTagName
this is what I ended up using
var
TESTxml = response.responseXML.documentElement; var items = TESTxml.getElementsByTagName("Item");Fekih Mehdi
sadly I can't figure out how to specify an xmnls namespace without using soap, or at least that is what it seems all the examples show but I can't use xmlpost. I tried the following but that didn't seem to work either.
registerNamespace(
"xmlns:aws='http://webservices.amazon.com/AWSECommerceService/2006-06-07'");If anyone has any suggestions I would really appreciate it. Feeling pretty lost right about now
Promit
it's weird because if I use this xpath query at the xpath testbed it returns 6 nodes, but in my gadget it returns nothing
http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm Red60urne=e3d627be560414024ad4772a3c7cacbf&context=%2F&xpath=%2F%2FListLookupResponse%2FLists%2FList%2FListItem&eval=Evaluate
//ListLookupResponse/Lists/List/ListItem
var
items = response.responseXML.documentElement.selectNodes("ListLookupResponse/Lists/List/ListItem");Is it maybe because of Namespace
jchau
Kshama
pjwhams
Evan Mulawski
erikkl2000
If I do this:
var
items = response.responseXML.documentElement.selectNodes("*");m_el.innerHTML = items;
it returns the following:
[object Element],[object Element]
Is there any way I can see what the two Elements it is returning are I know there are supposed to be many more, but this might at least give me an idea=D
Andre721
Addressing a few points:
Two suggestions to try:
Hope that helps. If you figure out more, post and maybe someone will have some other ideas.