On Tuesday 06 March 2007 11:58, Paulo J. Matos wrote: > Hello all, > > I've stumbled upon a wierd thing. > This request: > kfmclient download > "http://webservices.amazon.co.uk/onca/xml?Service=AWSECommerceService&AWSAc >cessKeyId=13V7YYPJ52WP1DNSXTR2&Operation=ListLookup&ListType=WishList&ListId >=3UR8NGW6RWFTT&MerchantId=Amazon&ResponseGroup=ListInfo" > > is an amazon request through its rest API and returns an XML with an error. > The exact same request with wget or firefox return an XML with a good > result. So, basically either the Amazon API is returning an incorrect > result because it is konqueror asking for it or konqueror is somehow > mixing things and requesting the wrong stuff given the correct URL. I tried both "download" and "copy" as commands for kfmclient and both returned a file like the attached one. Is this the correct response or the error response you are getting as well? Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring
<?xml version="1.0" encoding="UTF-8"?><ListLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2005-10-05"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Debian)"></Header></HTTPHeaders><RequestId>0CEFEMYKMJ9M2922ZH5P</RequestId><Arguments><Argument Name="AWSAccessKeyId" Value="13V7YYPJ52WP1DNSXTR2"></Argument><Argument Name="MerchantId" Value="Amazon"></Argument><Argument Name="ListId" Value="3UR8NGW6RWFTT"></Argument><Argument Name="ListType" Value="WishList"></Argument><Argument Name="ResponseGroup" Value="ListInfo"></Argument><Argument Name="Operation" Value="ListLookup"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument></Arguments><RequestProcessingTime>0.0957939624786377</RequestProcessingTime></OperationRequest><Lists><Request><IsValid>True</IsValid><ListLookupRequest><ListId>3UR8NGW6RWFTT</ListId><ListType>WishList</ListType><MerchantId>Amazon</MerchantId><ResponseGroup>ListInfo</ResponseGroup></ListLookupRequest></Request><List><ListId>3UR8NGW6RWFTT</ListId><ListURL>http://www.amazon.co.uk/gp/registry/wishlist/3UR8NGW6RWFTT</ListURL><ListName>Wishlist</ListName><ListType>WishList</ListType><TotalItems>208</TotalItems><TotalPages>21</TotalPages><DateCreated>2002-04-06</DateCreated><CustomerName>Paulo Jorge de Oliveira Cantante de Matos</CustomerName></List></Lists></ListLookupResponse>
Attachment:
pgpDD3YZ7zmw3.pgp
Description: PGP signature
___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.