cancel
Showing results for 
Search instead for 
Did you mean: 

Simple File - PI - SOAP scenario

Former Member
0 Kudos

Hi,

I'm trying to create a scenario to send a binary file via webservice in PI, the receiver webservice is expecting to receive a base64 string representing the binary file.

My question is if to achieve this do I need to create a Java Mapping, or can a message mapping be used in IR to achieve this?

Regards,

Leandro Fonseca

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey

As far as i know,you need to use java mapping to handle binary files in XI.graphical mapping wont work for it

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee5...

Thanx

Aamir

Edited by: Aamir Suhail on May 22, 2009 9:22 AM

prateek
Active Contributor
0 Kudos

If you want to send data in a single field of receiver webservice, then you may pass it using message mapping. If you want to convert the base64 data to understandable format (encoding or decoding), you may write the java code in UDF for the conversion.

For decoding or encoding the data, a simple way there would be directly use of java mapping or adapter module.

/people/farooq.farooqui3/blog/2008/05/22/decode-base64-incoming-encoded-information-in-sap-xipi-using-java-mapping

Regards,

Prateek