Commit 89503a45 authored by msingh's avatar msingh

Changed by Manish on 05/04/16 for DespatchConfirm.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101118 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d2d68236
...@@ -130,6 +130,12 @@ public class DespatchConfirm extends ActionHandlerEJB implements DespatchConfirm ...@@ -130,6 +130,12 @@ public class DespatchConfirm extends ActionHandlerEJB implements DespatchConfirm
} }
catch(Exception exception) catch(Exception exception)
{ {
try {
conn.rollback();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println("Exception in [Despatch Confirmation] confirm " + exception.getMessage()); System.out.println("Exception in [Despatch Confirmation] confirm " + exception.getMessage());
} }
...@@ -1385,7 +1391,8 @@ public class DespatchConfirm extends ActionHandlerEJB implements DespatchConfirm ...@@ -1385,7 +1391,8 @@ public class DespatchConfirm extends ActionHandlerEJB implements DespatchConfirm
{ {
System.out.println("errCode in despatch posting===="+errString); System.out.println("errCode in despatch posting===="+errString);
System.out.println(">>The selected transaction is confirmed!!!!"); System.out.println(">>The selected transaction is confirmed!!!!");
errString= "<?xml version='1.0'?><Root><message>VTPOSTDES</message><TranID>"+tranId+"</TranID></errors></Root>"; //errString= "<?xml version='1.0'?><Root><message>VTPOSTDES</message><TranID>"+tranId+"</TranID></errors></Root>";
errString="VTPOSTDES";
System.out.println("@@@@@ retString:[" + errString+"]"); System.out.println("@@@@@ retString:[" + errString+"]");
} }
} }
......
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