Commit 3dbf60d8 authored by ssalve's avatar ssalve

Sarita : Done changes to add transDB in xtraparams for processRequest parameters on 26DEC2017

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177243 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4dd2abe1
...@@ -1553,6 +1553,8 @@ public class PoRcpArtPos extends ValidatorEJB implements PoRcpArtPosLocal, PoRcp ...@@ -1553,6 +1553,8 @@ public class PoRcpArtPos extends ValidatorEJB implements PoRcpArtPosLocal, PoRcp
String userType = ""; String userType = "";
String chgTerm = ""; String chgTerm = "";
//Added by sarita on 26DEC2017
String transDB = "";
try try
{ {
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
...@@ -1564,7 +1566,8 @@ public class PoRcpArtPos extends ValidatorEJB implements PoRcpArtPosLocal, PoRcp ...@@ -1564,7 +1566,8 @@ public class PoRcpArtPos extends ValidatorEJB implements PoRcpArtPosLocal, PoRcp
userType = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"userType"); userType = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"userType");
chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"chgTerm"); chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"chgTerm");
//added by sarita on 26DEC2017 to insert transDB parameter
transDB = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"transDB");
System.out.println("xtraParams is @@@@@ " + xtraParams); System.out.println("xtraParams is @@@@@ " + xtraParams);
userInfoStr.append("<UserInfo>"); userInfoStr.append("<UserInfo>");
...@@ -1576,6 +1579,8 @@ public class PoRcpArtPos extends ValidatorEJB implements PoRcpArtPosLocal, PoRcp ...@@ -1576,6 +1579,8 @@ public class PoRcpArtPos extends ValidatorEJB implements PoRcpArtPosLocal, PoRcp
userInfoStr.append("<userType>").append("<![CDATA["+userType+"]]>").append("</userType>\r\n"); userInfoStr.append("<userType>").append("<![CDATA["+userType+"]]>").append("</userType>\r\n");
userInfoStr.append("<remoteHost>").append("<![CDATA["+chgTerm+"]]>").append("</remoteHost>\r\n"); userInfoStr.append("<remoteHost>").append("<![CDATA["+chgTerm+"]]>").append("</remoteHost>\r\n");
//added by sarita on 26DEC2017 to insert transDB parameter
userInfoStr.append("<transDB>").append("<![CDATA["+transDB+"]]>").append("</transDB>\r\n");
userInfoStr.append("</UserInfo>"); userInfoStr.append("</UserInfo>");
} }
catch ( Exception e ) catch ( Exception e )
......
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