VERIFIED SOLUTION i

Resolve Spectrum: Exception thrown by Stage GetTravelCostMatrix in dataflow GetTravelCostMatrix

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

Cause

The routing database is not defined in options.

Resolution

UPDATED: April 19, 2017
There are two ways to fix this error:
  1. 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.
  2. 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).
Environment Details
Product Feature: Enterprise Routing Module

Operating System: Windows, Linux, Unix

Version: 7,.8,9