Hi XI expert,
I have developed simple synchronous java proxy that return array data, but still got error.
Please advise.
public class MIJPROXYREADFILESYNIN_PortTypeImpl extends com.sap.aii.proxy.xiruntime.core.AbstractProxy implements MIJPROXYREADFILESYNIN_PortType {
public com.galaxyentertainment.xi.base.component.DTJPROXYREADFILERES_Type
mIJPROXYREADFILESYNIN
(com.abc.xi.base.component.DTJPROXYREADFILEREQ_Type
mTJPROXYREADFILEREQ)
throws
com.sap.aii.proxy.xiruntime.core.SystemFaultException,
com.sap.aii.proxy.xiruntime.core.ApplicationFaultException{
String type = mTJPROXYREADFILEREQ.getTYPE();
String ftpuser = mTJPROXYREADFILEREQ.getFTPUSER();
String ftppass = mTJPROXYREADFILEREQ.getFTPPASS();
String dir = mTJPROXYREADFILEREQ.getDIRECTORY();
String filename = mTJPROXYREADFILEREQ.getFILENAME();
String companycode = mTJPROXYREADFILEREQ.getCOMPANYCODE();
String requestdate = mTJPROXYREADFILEREQ.getREQUESTDATE();
DTJPROXYREADFILERES_Type response = new DTJPROXYREADFILERES_Type();
DTFILEROWLINE_Type[] row = new DTFILEROWLINE_Type[2];
row[0].setLINE("a");
row[1].setLINE("b");
response.setRow(row);
return response;
}
Error Message :
com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIJPROXYREADFILESYNIN of proxy bean $Proxy330: null:
Thank You and Best Regards
Fernand