Is Amazon SimpleDB WSDL used correctly for SOAP without WS-Security?

The SimpleDB documentation includes this sample query for the ListDomains method. Note that there are signatures, Timestamp, AWSAccessKeyId and Version subelements:

  <SOAP-ENV:Body>
    <ListDomainsRequest xmlns=" http://sdb.amazonaws.com/doc/2007-11-07">
      <Signature>SZf1CHmQnrZbsrC13hCZS061ywsEXAMPLE&lt;</Signature>
      <Timestamp>2009-02-16T17:39:51.000Z</Timestamp>
      <AWSAccessKeyId>1D9FVRAYCP1VJS767E02EXAMPLE</AWSAccessKeyId>
      <Version>2007-11-07</Version>
      <Action>ListDomains</Action>
    </ListDomainsRequest>
  </SOAP-ENV:Body>

WSDL uses this definition for ListDomains:

<xs:element name="ListDomains">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="MaxNumberOfDomains" type="xs:int" minOccurs="0"/>
            <xs:element name="NextToken" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
</xs:element>
...
<wsdl:operation name="ListDomains">
    <soap:operation soapAction="ListDomains"/>
    <wsdl:input>
        <soap:body use="literal"/>
        </wsdl:input>
        <wsdl:output>
            <soap:body use="literal"/>
        </wsdl:output>
    </wsdl:operation>

Signature, Timestamp, AWSAccessKeyId, and Version data are not specified in the ListDomains definition.

AWS Support has already researched this and states that it is also designed:

"WSDL will continue to cover only application-level elements, as this is a cleaner approach, a better long-term" SOAP with WS-Security "envelope / body model.

Is the sample request specified correctly? Import WSDL, for example, in Delphi, does not generate code for authorization elements.

0
1

, , WSDL, ....

- Amazon SOAP, <SOAP-ENV:Body>....

, Delphi, WSDL? , SimpleDB ?

0

All Articles