Commit ad0b7c73 authored by prane's avatar prane

Changed arguments in sretuen confirm webservice call

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203125 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 85a9e6fb
...@@ -7,7 +7,7 @@ package ibase.webitm.ejb.dis; ...@@ -7,7 +7,7 @@ package ibase.webitm.ejb.dis;
import ibase.utility.E12GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ITMDBAccessEJB; import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ProcessEJB; import ibase.webitm.ejb.ProcessEJB;
import ibase.webitm.ejb.dis.adv.SalesReturnConfirm;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException; import java.rmi.RemoteException;
import java.sql.Connection; import java.sql.Connection;
...@@ -136,8 +136,8 @@ public class SalesReturnVerifyPasswordPrc extends ProcessEJB implements SalesRet ...@@ -136,8 +136,8 @@ public class SalesReturnVerifyPasswordPrc extends ProcessEJB implements SalesRet
// conn.commit(); // conn.commit();
System.out.println("@V@ Commiting befor SalesReturnConfirm 144"); System.out.println("@V@ Commiting befor SalesReturnConfirm 144");
if ("JB".equalsIgnoreCase(compType)) { if ("JB".equalsIgnoreCase(compType)) {
// SalesReturnConf sReturnConf= new SalesReturnConf(); SalesReturnConfirm sReturnConf= new SalesReturnConfirm();
// returnString = sReturnConf.actionConfirm(tranId, xtraParams, "", "Y", connection); returnString = sReturnConf.confirm(tranId,xtraParams,"N",conn);
} else } else
{ {
returnString = sReturnConfirm(tranId, objName, xtraParams, conn); returnString = sReturnConfirm(tranId, objName, xtraParams, conn);
...@@ -240,14 +240,18 @@ public class SalesReturnVerifyPasswordPrc extends ProcessEJB implements SalesRet ...@@ -240,14 +240,18 @@ public class SalesReturnVerifyPasswordPrc extends ProcessEJB implements SalesRet
call.setSOAPActionURI(actionURI); call.setSOAPActionURI(actionURI);
Object[] aobj = new Object[4]; Object[] aobj = new Object[4];
call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "component_name"), /*call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "component_name"),
XMLType.XSD_STRING, ParameterMode.IN); XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "tab_xml_data_1"), call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "tab_xml_data_1"),
XMLType.XSD_STRING, ParameterMode.IN); XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "tab_xml_data__all"), call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "tab_xml_data__all"),
XMLType.XSD_STRING, ParameterMode.IN); XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "xtra_params"), call.addParameter(new javax.xml.namespace.QName("http://NvoServiceurl.org", "xtra_params"),
XMLType.XSD_STRING, ParameterMode.IN); XMLType.XSD_STRING, ParameterMode.IN);*/
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "component_name"), XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "tran_id"), XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "xtra_params"), XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter( new javax.xml.namespace.QName("http://NvoServiceurl.org", "forced_flag"), XMLType.XSD_STRING, ParameterMode.IN);
String nullString = ""; String nullString = "";
if (tranId == null) { if (tranId == null) {
tranId = ""; tranId = "";
...@@ -255,9 +259,9 @@ public class SalesReturnVerifyPasswordPrc extends ProcessEJB implements SalesRet ...@@ -255,9 +259,9 @@ public class SalesReturnVerifyPasswordPrc extends ProcessEJB implements SalesRet
System.out.println("compName [" + compName + "]tab_xml_data_1 [" + tranId.trim() + "tab_xml_data__all [" System.out.println("compName [" + compName + "]tab_xml_data_1 [" + tranId.trim() + "tab_xml_data__all ["
+ nullString + "\n]"); + nullString + "\n]");
aobj[0] = new String(compName); aobj[0] = new String(compName);
aobj[1] = new String(tranId.trim() + "\tR\n"); aobj[1] = new String(tranId.trim());
aobj[3] = new String(xtraParams); aobj[2] = new String(xtraParams);
aobj[2] = new String(tranId.trim() + "\tR\n");// forcedflag aobj[3] = new String("N");// forcedflag
call.setReturnType(XMLType.XSD_STRING); call.setReturnType(XMLType.XSD_STRING);
retString = (String) call.invoke(aobj); retString = (String) call.invoke(aobj);
......
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