title: Converting amazon MWS scratchpad queries to API calls
body: <p>I want to know if there is a way to convert my Amazon MWS <a href="https://mws.amazonservices.co.uk/scratchpad/index.html" rel="noreferrer">scratchpad</a> queries to an API call</p>
  
  <p>e.g. when using the MWS scratchpad I'm given a String to sign</p>
  
  <pre><code>   "mws.amazonservices.co.uk"
     ."/Products/2011-10-01"
     ."AWSAccessKeyId=xxx&amp;Action=ListMatchingProducts"
     ."&amp;MarketplaceId=xxx&amp;Query=star%20wars&amp;SellerId=xxx"
     ."&amp;SignatureMethod=HmacSHA256&amp;SignatureVersion=2
     ."&amp;Timestamp=2012-07-27T18%3A59%3A30Z&amp;Version=2011-10-01
  </code></pre>
  
  <p>After spending days trying to get <a href="https://developer.amazonservices.com/gp/mws/api.html/192-8794163-0963027?ie=UTF8&amp;group=orders&amp;section=orders&amp;version=latest" rel="noreferrer">Amazons order API</a> to work I have given up and have been hoping that the following function would return an xml string...but with no luck</p>
  
  <pre><code>function callAmazon(){
      $apicall =  "mws.amazonservices.co.uk"
     ."/Products/2011-10-01"
     ."AWSAccessKeyId=xxx&amp;Action=ListMatchingProducts"
     ."&amp;MarketplaceId=xxx&amp;Query=star%20wars&amp;SellerId=xxx"
     ."&amp;SignatureMethod=HmacSHA256&amp;SignatureVersion=2
     ."&amp;Timestamp=2012-07-27T18%3A59%3A30Z&amp;Version=2011-10-01   
  
      $resp = simplexml_load_file($apicall);   //make the call
  }
  </code></pre>
  
  <p>does anyone have any possible suggestions?</p>