I would expect that it is base 64 encoded. If you can get it into a document variable there is a decode method on the doc object that will decode it for you.
thanks for the help, but
It is a binary string, like:
I think it is compressed and encoded.
Adobe doesn't supply a java base64 encoder/decoder, but there are pleanty of them out there like the Apache commons one:
 decoded = Base64.decodeBase64(FSAPPLICATIONDATA_);
Ok I thought you were in a process ...there is a decode on the document object in a setValue service. Anyways I am quite certain that it is a base 64 encoded string so if you do a web search I am sure that you will be able to find a base 64 decode library.
I tried that, there is one codec in lc_client/thirdparty, which is apache 1.3.
It did not help, before decoding it was in ascii range, after it is a pure
So, I guess, it is not Base64.
Any other suggestions?
I tried to convert the stream to Java object with:
byte decodedData = Base64.decodeBase64(FSAPPLICATIONDATA_);
ObjectInputStream objectIn = new ObjectInputStream(new ByteArrayInputStream(decodedData));
Object obj = objectIn.readObject();
But it throws an exception java.io.StreamCorruptedException: invalid stream header
So, I would say, it is not a Java object
FSAPPLICATIONDATA_ is an base64 encoded binary zip file. This file contains for example the whole XFA structure of the form.