Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Example XML Request File Needed

Help
2008-12-04
2013-04-15
  • Simon White
    Simon White
    2008-12-04

    Hi

    I would like to see a complete XML request file for getAllPendingDocumentInfo.  When I try it myself I appear to have a Soap version mismatch.  Since I must generate the soap request manually I would like to see a raw soap request so I can see what is missing or wrong in my own.  I have read the documentation at SellerCentral and viewed the XSD's etc. but even if I match what is documented I run into errors so a sample of a valid request would be great.

    I tried creating an XML request as per the Amazon documentation but the AMTU says it is not valid.  So I am stuck there also.

    I tried creating an xml file as follows:

    <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
    <Header>
    <DocumentVersion>1.01</DocumentVersion>
    <MerchantIdentifier>M_MYCOMPANY1_999999</MerchantIdentifier>
    </Header>
    <MessageType>_GET_ORDERS_DATA_</MessageType>
    </AmazonEnvelope>

    and placed it in the outgoing folder but AMTU says it is not recognized.

    Any help would be appreciated.

    Thanks,
    Simon

     
  • Thomas St.
    Thomas St.
    2010-08-17

    I think you don't need any Soap Header in the request. The Merchant Identifier is part of the merchant node:

    <Merchant>
      <MerchantIdentifier>M_MYCOMPANY1_999999</MerchantIdentifier>
      <MerchantName>MYCOMPANY</MerchantName>
    </Merchant>