Web Service Explanation
A third-party external distance engine can be defined using EDE with the connection type
of “WebService (W)” and using a java class
glog.business.rate.ratedistance.external.webservice.client.ExternalDistanceWebServiceClient
.
Oracle Transportation and Global Trade Management Cloud as web service client connects
to the custom third-party distance engine web service that adheres to the WSDL
interface.
lookupDistance Operation
Inputs
lookupDistance
operation takes
lookupDistanceRequest
as input that contain below element as
child elements
sourceAddress
contains all the location information for the source address.destinationAddress
contains all the location information for the destination address.extEngineAuxInputList
contain SCAC and Route Codes off the locations, contains the equipment dimensions, weight and volume of the equipment being used for transportation and contains hazardous material information being shipped if hazardous routing is enabled. The SCAC and Route Codes are usually only necessary for rail lookups. This element is available as read-only.edeParams
is a mapping to all the input parameters that were entered in Oracle Transportation and Global Trade Management Cloud for the specific EDE.
Outputs
extEngineDistance is the result of the lookupDistance operation. extEngineDistance element contains two child elements named uom and amount. An unsuccessful call to lookupDistance will return a fault to indicate the exception scenario with the reason populated in the ExtEngineException element.