Subversion Repositories SmartDukaan

Rev

Rev 1044 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1044 Rev 2942
Line 27... Line 27...
27
	static{
27
	static{
28
		try {
28
		try {
29
			ARAMEX_URL = ConfigClient.getClient().get("aramex_update_url");
29
			ARAMEX_URL = ConfigClient.getClient().get("aramex_update_url");
30
		} catch (ConfigException e) {
30
		} catch (ConfigException e) {
31
			//ARAMEX_URL = "file:///home/ashish/Downloads/AWB_Track.xml";
31
			//ARAMEX_URL = "file:///home/ashish/Downloads/AWB_Track.xml";
32
			e.printStackTrace();
32
		    log.error("Unable to get the tracking url from the config service", e);
33
		}
33
		}
34
	}
34
	}
35
	
35
	
36
	public List<ShipmentUpdate> getUpdates(String awbNumber){
36
	public List<ShipmentUpdate> getUpdates(String awbNumber){
37
		String uri = ARAMEX_URL + awbNumber;
37
		String uri = ARAMEX_URL + awbNumber;