Subversion Repositories SmartDukaan

Rev

Rev 20640 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20640 amit.gupta 1
package com.bluedart.impl;
2
 
3
public class BluedartTest {
4
 
5
	public static void main(String[] args) throws Exception{
20662 kshitij.so 6
//		WayBillGeneration wbg = new WayBillGenerationLocator();
7
//		IWayBillGeneration gen = wbg.getWSHttpBinding_IWayBillGeneration();
8
//		WayBillGenerationRequest request = new WayBillGenerationRequest();
9
//		Consignee consignee = new Consignee();
10
//		consignee.setConsigneeAddress1("Addr1");
11
//		consignee.setConsigneeMobile("9990381569");
12
//		consignee.setConsigneeName("Amit");
13
//		consignee.setConsigneeAddress2("Noida");
14
//		consignee.setConsigneeAddress2("Uttar Pradesh");
15
//		consignee.setConsigneePincode("100011");
16
//		request.setConsignee(consignee);
17
//		Shipper shipper = new Shipper();
18
//		shipper.setCustomerAddress1("Arrd1");
19
//		shipper.setCustomerName("Amit");
20
//		shipper.setCustomerEmailID("amit.gupta@shop2020.in");
21
//		request.setShipper(shipper);
22
//		Services s = new Services();
23
//		s.setDeclaredValue(1000d);
24
//		s.setInvoiceNo("121D");
25
//		s.setActualWeight(330d);
26
//		
27
//		request.setServices(s);
28
//		String customercode="316326";
29
//		String password = "";
30
//		String isAdmin = "true";
31
//		String licenceKey="5f1740fdfb8196e7980faea7fe52dd0d";
32
//		String api_type="T";
33
//		String loginID = "FA316326";
34
//		String area="FAR";
35
//		String version = "1.3";
36
//		UserProfile profile = new UserProfile(api_type, area, customercode, isAdmin, licenceKey, loginID, password, version );
37
//		System.out.println(gen.generateWayBill(request, profile));
20640 amit.gupta 38
	}
39
}