You do not need any access to the web service's java code (and the web service may not be implemented in Java). The wsdl is sufficient for you to produce a client.

The concept is that wsdl2java generates from the Amazon .wsdl file all the java code you need to call the amazon services, except the main() function, which would invoke one of the methods on the stub class with some data you provide. Note that you will need a developer-token to use as a credential to access the service. You must register for this token at the Amazon website.

Jeff

Deepak T J wrote:

Hi all

I got the WSDL file of AmazonWebService from    
http://soap.amazon.com/schemas2/AmazonWebServices.wsdl

. I want to test a function
asinSearchRequest(amazon.ws.AsinRequest asinSearchRequest)  by writing a JAVA 
client code. I looked into the following site :

http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2

This site gives the steps for testing a JAVA web service. In step 4 , we have to plug in some code into a java file created by WSDL2java.

Reply via email to