newbie - WebServices

  • Thread starter Thread starter Xarky
  • Start date Start date
X

Xarky

Hi,
I am trying to use the AmazonWS webservice in my application. I
have registrered with AmazonWS for an ID. In my application, I have
added a Web Reference
http://soap.amazon.com/schemas2/AmazonWebServices.wsdl

Now, I am trying to use the methods produced by this webservice, but I
have no idea how to do it.

Can someone help


Thanks in Advance
 
Hi,

Try this:

AmazonSearchService ws = new AmazonSearchService ();
AuthorRequest request = new AuthorRequest ();
request.author = "author";
request.devtag = "your ID";
request.mode = "books";
request.page = "1";
ProductInfo pInfo = ws.AuthorSearchRequest (request);

for (int i = 0; i < pInfo.Details.Length; i ++)
{
listBox1.Items.Add (pInfo.Details.ProductName.ToString ());
}


Regards,
Peter Jausovec
(http://blog.jausovec.net)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top