public void clearTransports() { try { _upaBroker.clearTransports(); } catch (WebServiceException wse) { handleException(wse); _upaBroker.clearTransports(); } }
public List<TransportView> listScheduleTransports() { List<TransportView> result = null; try { result = _upaBroker.listTransports(); } catch (WebServiceException wse) { handleException(wse); result = _upaBroker.listTransports(); } return result; }
public TransportView checkTransportState(String id) throws UnknownTransportFault_Exception { TransportView result = null; try { result = _upaBroker.viewTransport(id); } catch (WebServiceException wse) { handleException(wse); result = _upaBroker.viewTransport(id); } return result; }
public String ping(String msg) { String result = ""; try { result = _upaBroker.ping(msg); } catch (WebServiceException wse) { handleException(wse); result = _upaBroker.ping(msg); } return result; }
public String schedule(String origin, String destination, int price) throws InvalidPriceFault_Exception, UnavailableTransportFault_Exception, UnavailableTransportPriceFault_Exception, UnknownLocationFault_Exception { String result = ""; try { result = _upaBroker.requestTransport(origin, destination, price); } catch (WebServiceException wse) { handleException(wse); result = _upaBroker.requestTransport(origin, destination, price); } return result; }