Shipment Management
Configuring PC*Miler Rail Web Services
Integration of OTM with PC*MILER RAIL Web Services enables you to calculate distance. Now, you have flexibility to use either PC*MILER RAIL Connect or PC*MILER RAIL Web Services.
Before you can use PC*MILER RAIL Web Services, you must set the ExternalDistanceEngine properties in the glog.properties file. In order to use the PC*MILER RAIL Web Services, configure the web services authentication credentials through properties defined below:
- glog.ExternalDistanceEngine.PCMilerRailWS.AuthorizationKey
- glog.ExternalDistanceEngine.PCMilerRailWS.WbserviceWSDLUrl
To get the distance using the PC*MILER RAIL Web Services:
- Configure new ExternalDistanceEngine with javaclass 'glog.business.rate.ratedistance.external.PCMilerRailEngineWS' and provide other required parameters like 'ROUTE_TYPE', 'SOURCE_ADDRESS_TYPE', DEST_ADDRESS_TYPE' and so on. See External Distance Engine Parameters.
- Configure a new rate distance and map above configured External Distance Engine to it.