Hi,
Need some clarifactions ! XSD contains an element whcih is of type "base64Binary". After unmarshlling the XML, i use the method "getByteArrayValue()" to fecth the value. XML beans automatically invokes its Base64 and decodes my object value, and returns me the decoded value. I dont want this to happen, i would like to get the encoded value as it is.
I even tried using the method getStringValue(), this returns me the encoded value only, but internally XMLBeans decodes it to check whether the value is a valid Base64. I dont want this to happen, how can it be done.
I need this in a case where an external application fisrt encodes a value and then sends it in small chunks by multiple xml's to our application. Our application will receive all the XML then concatenate the received bytes of this element and then only decode it.
Thanks !!!
Rgds,
Satish
- Base64 Decoding Satish Kumar
- Re: Base64 Decoding Erik van Zijst
- RE: Base64 Decoding Cezar Andrei

