Your Development Environment

This section helps you confirm that your development environment is set up correctly. Skip to the section that corresponds to the toolkit you downloaded:

You can implement Amazon Associates Web Service operations directly in Java. You can also generate and use the Amazon Associates Web Service Java Client Side library to simplify your Java implementations. This section explains how to generate the Amazon Associates Web Service Java Client Side Library. The next section shows you how to use it to create a request.

You will use the wsimport utility in Java 6 to generate the stubs from the Amazon Associates Web Service WSDL, which is located at http://ecs.amazonaws.com/AWSECommerceService/AWSECommerceService.wsdl.

Amazon Associates Web Service requires that you have successfully installed Microsoft Visual Studio.

Run the following commands to verify that you have installed all of the necessary Perl modules:

perl -MDigest::HMAC_SHA1 -e 1
perl -MMIME::Base64 -e 1
perl -MLWP -e 1
perl -MXML::XPath -e 1
perl -MDate::Format -e 1

You should not receive any error messages.

To verify your PHP installation, use a command-line interface to run the following command:

php -version

This command assumes you are either in your PHP installation directory or it is in your PATH system variable.

The response should be similar to the following:

PHP 5.1.2 (cli) (built: Jan 11 2006 16:40:00)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies