on 03-10-2006 2:28 PM
Hey all,
Im accessing some RFC functions from XI which return and take parameters in the RAW format.
From http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f2e5446011d189700000e8322d00/content.htm:
RAW: Uninterpreted byte string. Fields of type RAW may have only a maximum length of 255 in tables. If longer raw fields are required in tables, you should select data type LRAW.
If I for example execute a RFC from the abap system (using transaction se37), one of the results is "5ECD6F4D6C6E3242921025FE74AC5153" while when i call the RFC from XI the result with the same input parameters is "Xs1vTWxuMkKSECX+dKxRUw==".
Is it possible to convert these (in both directions) between strings and raw format, preferably with java mapping ?
Greetings,
Hannes
Hi,
Try defining the message element type as xsd:base64Binary
That should take care of ur issue.
cheers,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
There are some Java Classes for that..
Just look into this..
http://jakarta.apache.org/commons/codec/apidocs/org/apache/commons/codec/binary/BinaryCodec.html
http://www.stanford.edu/group/coursework/docsTech/oracle/oracle/sql/RAW.html
Hope this helps..
Regards,
Moorthy
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.