* responses without calling FBAInboundServiceMWS service.
 *
 * Responses are loaded from local XML files. You can tweak XML files to
 * experiment with various outputs during development
 *
 * XML files available under FBAInboundServiceMWS/Mock tree
 *
 ***********************************************************************/
// $service = new FBAInboundServiceMWS_Mock();
/************************************************************************
 * Setup request parameters and uncomment invoke to try out
 * sample for Get Preorder Info Action
 ***********************************************************************/
// @TODO: set request. Action can be passed as FBAInboundServiceMWS_Model_GetPreorderInfo
$request = new FBAInboundServiceMWS_Model_GetPreorderInfoRequest();
$request->setSellerId(MERCHANT_ID);
// object or array of parameters
invokeGetPreorderInfo($service, $request);
/**
 * Get Get Preorder Info Action Sample
 * Gets competitive pricing and related information for a product identified by
 * the MarketplaceId and ASIN.
 *
 * @param FBAInboundServiceMWS_Interface $service instance of FBAInboundServiceMWS_Interface
 * @param mixed $request FBAInboundServiceMWS_Model_GetPreorderInfo or array of parameters
 */
function invokeGetPreorderInfo(FBAInboundServiceMWS_Interface $service, $request)
{
    try {
        $response = $service->GetPreorderInfo($request);
        echo "Service Response\n";