Failing to route and rate example
This example shows of a failure to rate and route. When action = Select Carrier or Tender is taken from the application, the presented error contains the details of the reason the shipment or carrier route failed to rate/route. If further details are required, the details can be viewed in the log below. The section in bold describes the failure issue:
2011-06-21 11:36:22,920 WARN TMImport_Worker-2 [ProcessRateRouteRequestService] No rates found: <B>Response from the Web Service is :</B> Success<BR/> <BR/> <BR> <B>********* STARTED PROCESSING THE SHIPMENTS**********</B> <BR>*****************************************************<BR> <BR> <B>For SR :</B> 33 <BR>NO ACTIVE SOLUTIONS AVAILABLE.<BR> <BR><li type="square">Buy Rate:</li> <BR><li type="square">No matching rates were found. Modify your query.</li><BR> <BR><li type="square">The query against Routing Guide <B>Price</B> belonging to <B>Warehouse1</B> failed for at least one of the following reasons:</li> <BR>&nbsp; &nbsp; 1. Weight Range not covered in the Routing Guide <BR>&nbsp; &nbsp; 2. Lane not covered in Routing Guide <BR>&nbsp; &nbsp; 3. Routing Guide expired<BR> <BR> <B>For SR :</B> 33 <BR>NO ACTIVE SOLUTIONS AVAILABLE.<BR> <BR><li type="square">Sell Rate :</li> <BR><li type="square">No matching rates were found. Modify your query.</li><BR> <BR><li type="square">The query against Routing Guide <B>Price</B> belonging to <B>Warehouse1</B> failed for at least one of the following reasons:</li> <BR>&nbsp; &nbsp; 1. Weight Range not covered in the Routing Guide <BR>&nbsp; &nbsp; 2. Lane not covered in Routing Guide <BR>&nbsp; &nbsp; 3. Routing Guide expired <BR><B>*****************************************************</B> <BR> <B>View Response XML : </B> <a href = "rrserver/arzoon/rateroute/viewResults.jsp?fileNameStr=RateRouteResponse_1308674182489&responseFor=RateRoute">RateRouteResult</a> <BR> <BR><B>*****************************************************</B><BR> <B>TOTAL SHIPMENT PROCESSED :</B> 1<BR><B>*****************************************************</B><BR> <BR> <B>******ALL THE SHIPMENTS PROCESSED SUCCESSFULLY******</B> 2011-06-21 11:36:22,939 ERROR TMImport_Worker-2 [ShipmentServiceRatingRoutingImpl] Rating and routing failed. com.infor.logistics.tms.api.exception.TMSException: No rates found