on 11-21-2011 9:44 PM
I need to send contents of a binary file into an RFC which can accept unbound rows of 1024 bytes of data.
I will also send filename to the RFC which I'll pull from ASMA.
I have a simple data type set up with XSD type base64Binary and string field for the file name. Initial try through integration engine is unsuccessful because I think PI wants to see the payload parsed as XML and it is the pure binary, unchanged by the file adapter. (e.g. "Content is not allowed in prolog")
I've found an example of how to do this via Java mapping, but I've never used that before. Is it required or is there a way to get this done with simple message mapping?
I used this helpful Wiki article to help me get this Java map going. Thanks for the help everyone.
http://wiki.sdn.sap.com/wiki/display/XI/HowtoSendBinaryDatatoRFCfromXI%28or%29PI
Also to get going with NWDS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Is it required or is there a way to get this done with simple message mapping?
You need Java mapping. No way to handle through message mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
java mapping is the easiest option you have in this case.
ex. http://wiki.sdn.sap.com/wiki/display/XI/SampleJAVAMappingcodeusingPI7.1+API
http://wiki.sdn.sap.com/wiki/display/Snippets/FILEtoIDOCusingJava+Mapping
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.