{"id":31778,"date":"2018-03-20T10:58:11","date_gmt":"2018-03-20T18:58:11","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/2019-1-2\/moduleplugin-configuration\/export-module\/custom-export-to-web-services-guide\/"},"modified":"2020-07-22T13:34:53","modified_gmt":"2020-07-22T20:34:53","slug":"custom-export-to-web-services-guide","status":"publish","type":"docs","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/features-and-functions\/administrator\/moduleplugin-configuration\/export-module\/custom-export-to-web-services-guide\/","title":{"rendered":"Export to Web Service Plugin"},"content":{"rendered":"

Quick Reference<\/strong><\/h3>\n

Introduction<\/a><\/p>\n

Prerequisites<\/a><\/p>\n

Configure the Export to SOAP Web Service<\/a><\/p>\n

Configure the Export to REST Web Service<\/a><\/p>\n

<\/a><\/a><\/a><\/a>Introduction<\/h3>\n

This functionality allows the Transact users to export the batches (PDF\/TIFF and Batch XML files) to the configured Web Service path. To implement this feature, a new EXPORT_TO_WEB_SERVICE<\/strong> plugin has been added to the Export module of Ephesoft Transact.<\/p>\n

You can use the default functionality or modify it according to your needs.<\/p>\n

<\/a>Default Functionality<\/h4>\n

In the default case scenario, Ephesoft Transact provides a default service and client to export the PDF\/TIFF\/XML files to the specified location. You just need to specify URL where you have deployed the Web Service. This default class will provide the functionality to simply export the specified file. <\/a>Exported files are placed under the path SharedFoldersfinal-drop-folder<Batch Instance Id>.<\/p>\n

User Defined Functionality<\/h4>\n

If required, you can change the default functionality according to your needs. You can configure the jar files by modifying the classes and then import them into the Batch Class at run-time. For example, you can add another class in the jar file to merge all the exported files into one single document. If you want to implement any authentication scheme, you can add your own implementation in the new modified class.<\/p>\n

Note<\/em><\/strong>: Both default and user defined functionalities are provided for both REST and SOAP Web Services export.<\/em><\/p>\n

There are three supported authentication types for REST: no authentication, basic authentication, and OAuth 2.0. For SOAP, no authentication types are supported.<\/em><\/p>\n

<\/a><\/a><\/a>Prerequisites<\/h3>\n

EXPORT_TO_WEB_SERVICE<\/strong> plugin should be added to the Export module.<\/p>\n

To add the EXPORT_TO_WEB_SERVICE plugin:<\/strong><\/p>\n