المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Request: Help: Amazon Webservice with c#.net seemed to change things in recent update



C# Programming
01-15-2010, 10:30 PM
I am trying to use the amazon web services in my c# program but I kept getting a http 410:gone error.
I did some research and found webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl is suppose to be the correct web reference. In any event, the following appears to be obsolete and I can not find it replacement. What I am wanting to do is query amazon based on a title and return the price.

I thought AmazonSearchService srchrequest = new AmazonSearchService(); would work but that appears to have been replaced and i haven't a clue with what. I thought maybe AWSECommerceService srch = new AWSECommerceService();

Then also the KeywordRequest kr = new KeywordRequest(); has been removed. so I guess how do you do keyword searches now?
I was hoping to do something like this


ProductInfo pi = srch.KeywordSearchRequest(kr); //productinfo no longer exist

Details[] allDetails = pi.Details; // make array and store results from the product info

allDetails no longer exist eitherhttp://www.barakasoft.com/script/Forums/Images/smiley_frown.gif

Am I going about this all wrong or what? I can't seem to figure it out..
The closest I see are two things in the object brower. Price and then itemsearchrequest but I can't seem to figure out how one would use that to get the price of the item.


any help or a reference to a working tutorial or something would be great.
thanks