cancel
Showing results for 
Search instead for 
Did you mean: 

file RFC file without BPM: doubt

Former Member
0 Kudos

<b>Appology for sending it again</b>

Hi forum i tried a file-RFC-file without BPM scenario...as explained by <b>Bhavesh</b> in the following thread:

Its a file RFC file scenario,

and in the sender communication chhanel

the modules used is:

1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1

2- CallSapAdapter-Local Enterprise Bean - 2

3-AF_Modules/ResponseOnewayBean-3

<b>Parameters

ModuleKey - ParameterName - ParameterValue</b>1 - passThrough - true

3-receiverChannel - Receiver File Adapter Name

3-receiverService - Receiver Business Service/ System

<b>in receiver RFC channel, theres only default modules</b>

i m getiing the following error in the communication channel monitoring in the receiver side:

see the file is being picked, the RFC called, RFC returns messgae, than the AF_Modules/ResponseOnewayBean is called .... and the file is written to the file receiver system, but after that it returns a false and hence the file is not being deleted from the file sender(as configured),

pls pls analyse the audit log of sender file channel and receiver file channel:

<b>Audit Log of Sender File Communication channel:</b>

-


2007-08-14 09:09:16 Success Channel CC_sdptestFileSender: Send binary file "/ftponly/testsdp/simple2.xml". Size 700 with QoS BE

2007-08-14 09:09:16 Success RRB: entering RequestResponseBean

2007-08-14 09:09:16 Success RRB: passing through ...

2007-08-14 09:09:16 Success Application attempting to send an XI message synchronously using connection AFW.

2007-08-14 09:09:16 Success RRB: leaving RequestResponseBean

2007-08-14 09:09:16 Success Trying to put the message into the call queue.

2007-08-14 09:09:16 Success Message successfully put into the queue.

2007-08-14 09:09:16 Success The message was successfully retrieved from the call queue.

2007-08-14 09:09:16 Success The message status set to DLNG.

2007-08-14 09:09:18 Success The message was successfully transmitted to endpoint http://xid:8000/sap/xi/engine?type=entry using connection AFW.

2007-08-14 09:09:18 Success The message status set to DLVD.

2007-08-14 09:09:18 Success The application sent the message synchronously using connection AFW. Returning to application.

2007-08-14 09:09:18 <b>Error Attempt to process file failed with java.lang.NullPointerException</b>

<b>Audit Log of Receiver Channel</b>

-


2007-08-14 09:09:18 Success Using connection AFW. Trying to put the message into the receive queue.

2007-08-14 09:09:18 Success The XI response message for message ef9efeb0-4a17-11dc-a2ef-0012799eddc6(INBOUND) was successfully returned to the calling application.

2007-08-14 09:09:18 Success The message status set to DLVD.

2007-08-14 09:09:18 Success ROB: entering ResponseOnewayBean

2007-08-14 09:09:18 Success ROB: calling the module processor ...

2007-08-14 09:09:18 Success MP: entering

2007-08-14 09:09:18 Success MP: processing local module localejbs/CallSapAdapter

2007-08-14 09:09:18 Success File adapter receiver: processing started; QoS required: ExactlyOnce

2007-08-14 09:09:18 Success File adapter receiver channel CC_sdptestFileReceiver2: start processing: party " ", service "BS_sdptestJDBCReceiver"

2007-08-14 09:09:18 Success Write to file "/ftponly/testsdp/outputxx/simpleOutput20070814-090918-521.xml" as binary, size 188 bytes

2007-08-14 09:09:18 Success File processing complete

2007-08-14 09:09:18 Success MP: leaving

<b>2007-08-14 09:09:18 Success ROB: returned with response: false

2007-08-14 09:09:18 Success ROB: leaving ResponseOnewayBean</b>

2007-08-14 09:09:18 Success

MP: leaving

<b>WHY ResponseOnewayBean RETURNS FALSE AND HENCE I CAN SEE IN SENDER CHANNEL: ERROR: NULL POINTER EXCEPTION</b>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

change the file name and check whether you are getting the same error.. if yes it mean there is some problem in adapter configuration..

check the configuration again.. if everything is file..... then you have to contact J2EE admin to check whether your file adapter service is running with out any error...

Former Member
0 Kudos

Hi ranjeeth, everything is fine....

the problem from the audit log of the receiver channel is:

the <b>call of ResponseOneWayBean returns false</b>

and the problem is ...why is the <b>call of ResponseOneWayBean returns false</b>

Former Member
0 Kudos

hi

when u calling the rfc check the parameters or fields ur passing to the function module

Srinivas.D