on 08-30-2007 2:03 PM
Hi Guru.
I have a question for you:
I need to read some file (like jpg) and translate it to base64binary because I want to POST the content via a WebService.
Do you have some experience with a problem like this?
I find this:
/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
thanks
Manuel Chiarelli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've done this with Java Mapping. In your java mapping, use this method:
private String toBase64(byte[] myFile) {
BASE64Encoder b64 = new BASE64Encoder();
return b64.encodeBuffer(myFile);
}
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.