Subversion Repositories SmartDukaan

Rev

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

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