Subversion Repositories SmartDukaan

Rev

Rev 6491 | Rev 13091 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6491 Rev 11436
Line 98... Line 98...
98
		 */
98
		 */
99
	    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
99
	    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
100
	    
100
	    
101
	    try {
101
	    try {
102
		    // URL of CGI-Bin script.
102
		    // URL of CGI-Bin script.
103
			url = new URL("https://secure.ebs.in/api/1_0");
103
			url = new URL("https://api.secure.ebs.in/api/1_0");
104
		    // URL connection channel.
104
		    // URL connection channel.
105
		    urlConn = url.openConnection();
105
		    urlConn = url.openConnection();
106
		    //urlConn.setRequestMethod("POST");
106
		    //urlConn.setRequestMethod("POST");
107
	    } catch (MalformedURLException e1) {
107
	    } catch (MalformedURLException e1) {
108
	    	log.error(Errors.CAPTURE_FAILURE.message, e1);
108
	    	log.error(Errors.CAPTURE_FAILURE.message, e1);
Line 262... Line 262...
262
		 */
262
		 */
263
	    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
263
	    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
264
	    
264
	    
265
	    try {
265
	    try {
266
		    // URL of CGI-Bin script.
266
		    // URL of CGI-Bin script.
267
			url = new URL("https://secure.ebs.in/api/1_0");
267
			url = new URL("https://api.secure.ebs.in/api/1_0");
268
		    // URL connection channel.
268
		    // URL connection channel.
269
		    urlConn = url.openConnection();
269
		    urlConn = url.openConnection();
270
		    //urlConn.setRequestMethod("POST");
270
		    //urlConn.setRequestMethod("POST");
271
	    } catch (MalformedURLException e1) {
271
	    } catch (MalformedURLException e1) {
272
	    	log.error(Errors.CAPTURE_FAILURE.message, e1);
272
	    	log.error(Errors.CAPTURE_FAILURE.message, e1);