Shipment Management
Configuring PC*MILER Web Services
Integration of OTM with PC*MILER Web Services enables you to calculate distance/time. Now, you have flexibility to use either PC*MILER|Connect or PC*MILER|Web Services.
Before you can use PC*MILER Web Services, you must set the ExternalDistanceEngine properties in the glog.properties file. In order to use the PC*MILER Web Services, configure the web services authentication credentials through properties defined below:
To configure WCF Web Services, use the following properties:
- glog.ExternalDistanceEngine.PCMilerWS.AuthorizationKey
- glog.ExternalDistanceEngine.PCMilerWS.WCFWebserviceWSDLUrl
To get the distance using the PC*MILER Web Services:
- Configure new External Distance Engine with javaclass 'glog.business.rate.ratedistance.external.PCMilerEngineWS' 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 the above configured External Distance Engine to it.
To get the transit time using the PC*MILER Webservices:
- Configure new External Service Engine with javaclass 'glog.business.rate.ratedistance.external.PCMilerEngineWS' and provide other required parameters like 'ROUTE_TYPE', 'SOURCE_ADDRESS_TYPE', 'DEST_ADDRESS_TYPE' and so on.
- Configure a new rate service with the rate service type as EXTERNALDRIVE and map the above configured External Service Engine to it.