Navigation: Scan2x Administrator's Guide > Scan Job Configuration > Metadata Tab >

Webservice Queries

 

 

 

 

Webservice Call in Metadata

 

It is possible to set up a metadata field whose value will be determined by the result of a call to a web service somewhere on the network.

This allows Scan2x to query virtually any type of system and application to obtain metadata about a document.

 

 

The Webservice Setup button is visible when a metadata field that has been defined as a Webservice Call is selected, as highlighted in the red box in the screenshot below.

 

 

When the Webservice Setup button is clicked, the following wizard is displayed which allows you to define a Webservice URL to call, together with a function exposed by that Webservice. The URL for the web service can be entered as a constant string or made dynamic using metadata field values to form part of the URL. Furthermore, you can set up the inputs to the parameters required by the webservice from metadata that has been collected from the document via OCR, entered by the user or even obtained from other Webservices.

 

 

In the Webservice Setup tab, type the Webservice URL, access Username and Password into the appropriate fields for the webservice you wish Scan2x to access.

Choose the type of webservice from the choice of SOAP, REST POST and REST GET from the options on the right of the screen.

Click the  button to test your entries and ensure that these will successfully make the connection to the webservice.

If successful, the Function dropdown will have populated with the methods exposed by the webservice you have connected to. Choose a method from the dropdown.

The Use SOAP Envelope for request body checkbox allows a webservice to send the request to the webservice as a SOAP request in a REST POST webservice call.

The parameters will be displayed (if relevant) in the Parameters tab.

Your configuration can be tested with sample data using the Test Area tab, in which the result returned by your webservice can be viewed and verified.

 

 

 

 

Copyright © 2024 Avantech Software