* 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 Bill Of Lading Action ***********************************************************************/ // @TODO: set request. Action can be passed as FBAInboundServiceMWS_Model_GetBillOfLading $request = new FBAInboundServiceMWS_Model_GetBillOfLadingRequest(); $request->setSellerId(MERCHANT_ID); // object or array of parameters invokeGetBillOfLading($service, $request); /** * Get Get Bill Of Lading 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_GetBillOfLading or array of parameters */ function invokeGetBillOfLading(FBAInboundServiceMWS_Interface $service, $request) { try { $response = $service->GetBillOfLading($request); echo "Service Response\n";