Service End Point Implementation
In the above classes ExternalDistanceEngine.java is an interface which represents the
service endpoint. Create an implementation class implementing this interface. Add
@WebService annotation to this implementation class. A sample implementation class is
provided
below
@WebService(targetNamespace = "http://xmlns.oracle.com/apps/otm/distanceengine", endpointInterface = "test.service.distanceengine.ExternalDistanceEngine",
serviceName = "DistanceEngineService", portName = "ExternalDistanceEnginePort" )
public class DistanceEngineServerImpl implements ExternalDistanceEngine {
@Override
public ExtEngineDistance lookupDistance(LookupDistanceRequest lookupDistanceRequest) throws ExtEngineException {
}
@Override
public LocationAddressMatches validateAddress(ValidateAddressRequest validateAddressRequest) throws ExtEngineException {
}
}