Product Feature: Enterprise Routing Module
Operating System: Windows, Linux, Unix
Version: 7,.8,9
Operating System: Windows, Linux, Unix
Version: 7,.8,9
Issue
While using the module GetTravelCostMatrix through a web service, a customer is getting the following exception:
Exception thrown by Stage:GetTravelCostMatrix in dataflow GetTravelCostMatrix: com.g1.dcg.stage.StageException: com.g1.dcg.component.ConfigurationException: The Routing database name is not defined in option
Exception thrown by Stage:GetTravelCostMatrix in dataflow GetTravelCostMatrix: com.g1.dcg.stage.StageException: com.g1.dcg.component.ConfigurationException: The Routing database name is not defined in option
Cause
The routing database is not defined in options.
Resolution
UPDATED: April 19, 2017There are two ways to fix this error:
- Open Management Console and click on the Get Travel Cost Matrix service. On the Routing options screen, there is a dropdown box labeled "Database". Select the default database resource from the list. After clicking Save, the service will use that routing database to process each request that it receives. If there is no values in that dropdown list, define a routing database resource in Management Console under Services > Enterprise Routing > Tools > Routing Database Resources.
- Part of the SOAP message structure is a set of options. One of those options is called DataSetResourceName. Set the value of this option to the name of the routing database resource (as defined in Management Console).