I try to use example from help(Working with Files > POST Request on FileService handler) to read XML file which contains all text with coordinates, but I have no luck. I got empty response without error status code is 200 but content length is 0. Is there a concrete example of how to get XML with coordinates over POST request? Is it possible to get XML over SOAP request?
ABBYY FC11 get XML with coordinates
Was this article helpful?
0 out of 0 found this helpful
Comments
8 comments
In order to help you with this issue we need to have a look your project.
Could you please share it with us?
Thank you in advance.
We reproduced this issue. We got DocumentBody, but could not get RecognizedWord with the same sample.
It would be better to contact with a regional support team for resolving the issue.
Thank you.
// Open session
int sessionId = client.OpenSession(3, 3);
try
{
//POST REQUEST
// Open our project
int projectId = client.OpenProject(sessionId, "Invoices_eng");
int VerifStage = 500;
int taskId = client.GetTask(sessionId, projectId, VerifStage, false, false);
FlexiCapture.Task task = client.GetTaskInfo(taskId);
int batchId = task.BatchId;
//bool batchSucceeded = client.OpenBatch(sessionId, batchId);
string outputFile = "C:\\Temp\\result.xml";
TaskDocumentList documentList = client.GetTaskDocuments(taskId);
//get DocumentBody for the first document in the list
List bytes = POSTLoadFile(serverUrl, sessionId, projectId, batchId, 0, documentList[0].Id, 0, "DocumentBody");
First problem occurs when I try to get task id over function getTask() and I get 0 value. So I decide to use function getAvailableTasks() and I got Task with stageType 500 and first I try to get document body over soap:
in this examaple I try to call HTTPRequest POST but I got only empty response:
Thank you in andvance
Please sign in to leave a comment.