Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to convert JAXBElement<byte[]> to String or in readable format

BalveerrJun 24 2015 — edited Jun 25 2015

Hi Experts,

I am working on web service proxy and i want to get data from JAXBElement<byte[]> data type and add this data in table. i tried with ....

JAXBElement<byte[]> Note_c1 =  ((RequestEntryC)optyBind).getNoteC();

String Note_c = Arrays.toString(Note_c1.getValue());

But it return [115, 117, 105, 116, 101, 32, 118, 105] and [B@27e80064 if i try with Note_c1.getValue()


I am on Jdeveloper 11.1.1.7.1



This post has been answered by Timo Hahn on Jun 24 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 23 2015
Added on Jun 24 2015
2 comments
771 views