Subversion Repositories SmartDukaan

Rev

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

Rev 832 Rev 903
Line 31... Line 31...
31
			e.printStackTrace();
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 + ",";
37
		String uri = BLUEDART_URL;
37
		//String uri = BLUEDART_URL;
38
		log.info("Blue Dart Update URL: " + uri);
38
		log.info("Blue Dart Update URL: " + uri);
39
		InputSource inputSource = new InputSource(uri);
39
		InputSource inputSource = new InputSource(uri);
40
		XPath xpath = XPathFactory.newInstance().newXPath();
40
		XPath xpath = XPathFactory.newInstance().newXPath();
41
 
41
 
42
		String expression = "/ShipmentData/Shipment/Scans/ScanDetail";
42
		String expression = "/ShipmentData/Shipment/Scans/ScanDetail";