I have aplication that sends documents between two databases. From first i send request to second and then the second db sends answer to the first. My problem: I would like to set the answer as response to request. But i wont to set it in the second DB and when the document recieved in first DB it should be response. Is it possible?
Subject: Can I create a response document to document in another DB?
Yes you can. There is a makeresponse method. You will need to though use copytodatabase to move the document from database a to database b. Then when the newly created document is in database b can be made a response document of any other document within database b (of course get the handle on the documents. NOTE: copytodatabase copies the document to the database, but is not immediate availabe to you have acquire the document via a method from database b), you will then be able to make a response document.