Menu
Product Advertising API
Developer Guide (API Version 2013-08-01)

Definitions

The Definitions section of the WSDL defines the namespaces used throughout the WSDL and the name of the service, as shown in the following snippet of the Product Advertising API WSDL.

Copy
<?xml version="1.0" encoding="UTF-8" ?> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://webservices.amazon.com/ AWSECommerceService/2013-08-01" targetNamespace="http://webservices.amazon.com/ AWSECommerceService/2013-08-01">

This example shows that the:

  • Default namespace is xmlns="http://schemas.xmlsoap.org/wsdl/"

  • SOAP namespace used is xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

  • Schema used is xmlns:xs="http://www.w3.org/2001/XMLSchema"

  • Product Advertising API WSDL namespace is "http://webservices.amazon.com/AWSECommerceService/2013-08-01"

    The date at the end is the version number. It is the date the WSDL became public.

  • TargetNamespace is "http://webservices.amazon.com/AWSECommerceService/2013-08-01"

    The TargetNamespace is an XML schema convention that enables the WSDL to refer to itself (as the target). The TargetNamespace value is the Product Advertising API WSDL namespace