Output System "WebServiceGeneric"
The "WebServiceGeneric" output system is used to send data to any external REST web service. The prerequisite for this is that the requirements of the web service for the structure of data and authentication procedure match the functionality of xSuite Interface. Individual HTTP header data records cannot be configured in xSuite Interface, for example.
The "WebServiceGeneric" output system only supports the output of file attachments. The output of index fields is not possible. A file attachment might be, for example, a JSON file that was previously generated from index field contents via the JSON output format and is to be passed to the REST web service as body content. File attachments in JSON format and in XML format are implicitly sent as string content. Other formats are sent as binary file attachments.
Transfer as multipart data is not implemented (i.e., multiple file attachments are sent to the target web service one after the other in separate calls). Possible return values of the web service are always read as string values. Other types (e.g., binary data) are not explicitly supported.
Property | Description |
|---|---|
OutputSystem[].Url*(%) | Full URL of the web service to be called, including the path and the parameter, if necessary |
OutputSystem[].ProxyServer | Proxy server for communication to the web service (optional) Syntax: see Proxy Server Connection |
OutputSystem[].Method | HTTP method used for the call Default value: |
OutputSystem[].AuthMode | Mode for authentication against web service:
|
OutputSystem[].User(*) OutputSystem[].Password(*§) | User name and password for authentication in In |
OutputSystem[].CertificateName(*) | Name of the client certificate for authentication in This corresponds to the |
OutputSystem[].ResponseField | Name of a field from the field catalog (optional) The response of the web service (body content) is written back to this field. If multiple file attachments are transferred individually, which results in multiple responses, they will all be combined into one value. The prerequisite is that a separator is defined. Use the separator defined under |
OutputSystem[].ResponseFileName(%) | Name of a file attachment if one is to be created from the web service response (body content) and added to the document (optional) If the response data is transferred to a file attachment, in this context it will always be treated as text data (e.g., JSON or XML) and not as binary data. |