on 07-19-2010 2:47 PM
Hi,
I have a scenario with;
Sender adapter - File (QoS = Best Effort )
Receiver Adapter - HTTP.
In HTTP adapter, URL is of type Get..
When I send a file through file adapter, connection is established and I get a response in the payload.
How do I create a file a file from this payload content? I mean I want to extract the contents into a file and place this file in a particular directory on FTP or PI server.
Kindly help!
Thanks,
Pratibha.
Error in the sender File communication channel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagarjuna,
The file gets successfully written on the destination that I have mentioned in the Receiver file channel.
The Reeiver channel is green in RWB. Only the Sender channel is Red with the error: Attempt to process file failed with java.lang.NullPointerException.
This error msg is seen in the Audit log after the success msg: The message status set to DLVD.
Regards....Pratibha.
Hi Pratibha,
Sender adapter - File (QoS = Best Effort )
If you are tyring to make the sender file as syncrounous to receive the response of HTTP , the you
can make use of the request response bean in the sender file adater as mentioned in the blog
http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
which gives an overview of file to RFC -file scenario, in your case you can replace the RFC with HTTP req/resp strutures.
I mean I want to extract the contents into a file and place this file in a particular directory on FTP or PI server.
This can be done using another file channel as mentioned in the blog above or alternatley you can do this using async/sync
bridge using BPM.Please try a search for the BPM scenario.
Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And I want this encrypted payload in a file so that, I can decrypt it.
In what format is the data encrypted? You can decrypt it in XI itself. In the Response mapping include a JAVA mapping which will do the decryption. For base64 encoded data you can take help of this blog:
/people/farooq.farooqui3/blog/2008/05/22/decode-base64-incoming-encoded-information-in-sap-xipi-using-java-mapping
Regards,
Abhishek.
Hi,
I could configure the scenario and the files are getting dumped in the required folder.
But, the File in the source directory does not get deleted.
And in the RWB, the messages are going into error : Attempt to process file failed with java.lang.NullPointerException.
Please help!
thanks,
Pratibha.
your is very similar to /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
only difference being its HTTP instead of RFC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.