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