Commit d7fbbb98 authored by prane's avatar prane

Changes related to SocketTimeOutException

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213295 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cea92e0f
...@@ -48,7 +48,7 @@ public class GetGstTableData extends ActionHandlerEJB implements GetGstTableData ...@@ -48,7 +48,7 @@ public class GetGstTableData extends ActionHandlerEJB implements GetGstTableData
System.out.println("Json for gst table data transfer called"); System.out.println("Json for gst table data transfer called");
Document dom = null; Document dom = null;
Document dom1 = null; Document dom1 = null;
Document dom2 = null; Document dom2 = null;u
String resString = null; String resString = null;
try try
{ {
...@@ -458,7 +458,7 @@ public class GetGstTableData extends ActionHandlerEJB implements GetGstTableData ...@@ -458,7 +458,7 @@ public class GetGstTableData extends ActionHandlerEJB implements GetGstTableData
System.out.println("json values in getGSTValue"+gstr1HeaderObj.toString()); System.out.println("json values in getGSTValue"+gstr1HeaderObj.toString());
Unirest.setTimeouts(60000, 0);
RequestBodyEntity request = Unirest.post(String.format("%s", GST_TABLE_URL)) RequestBodyEntity request = Unirest.post(String.format("%s", GST_TABLE_URL))
// .setTimeouts(connectionTimeout,socketTimeout) // .setTimeouts(connectionTimeout,socketTimeout)
.header("Content-Type", MediaType.APPLICATION_FORM_URLENCODED) .header("Content-Type", MediaType.APPLICATION_FORM_URLENCODED)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment