Hello,
Can anyone provide example code on how to invoke a web service in Flexicapture using c# script?.
Thanks
Hello,
Can anyone provide example code on how to invoke a web service in Flexicapture using c# script?.
Thanks
0 out of 0 found this helpful
Comments
3 comments
Hello
As I understand your question you ask about web API service. To start work with it you need to connect a web referense as describe in msdn: https://msdn.microsoft.com/ru-ru/library/bb628649.aspx. Then you may write your code according to this sample: Application Programming Interface (API) > Examples of API Use > Processing Multiple Documents in One Batch (you need to define "LoadFile" and "Trace" methods separately).
More examples you may find here: http://kb.abbyy.ru/article/1271
Hello, atorino
If you need to call a web service to validate the fields you need to join your custom external .dll via the .Net References tab at first. How to do this you may see here: Using scripts in ABBYY FlexiCapture > External Assemblies. Then you should add the Web References to use .Net classes and finally you may write the code to get data.
If you have any remaining questions, please don't hesitate to ask us again and provide detailed description.
Please sign in to leave a comment.