hello aykut,
i cannot clearly detect, where your problem lies.
the way i see it:
use the TaminoAPI4J to access the database and retrieve the desired document via query.
as the result of the query you can, for example, receive a DOM object, which you can “serialize” to a string and write this string via regular java.io classes to the file system.
probably more efficient is if you dont receive the result as DOM object but as raw IO stream and pass it directly to the java.io for writing to the file system.
hope this helps, but if not, let us know what exactly you are missing.
regards,
andreas f.
#API-Management#webMethods-Tamino-XML-Server-APIs#webMethods