on 12-11-2008 2:07 AM
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
Check your DTFILEROWLINE_Type class source code for an appropriate set method.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.