How can I generate document through Document Builder using a local XML file?
2 answers
You can host the XML file (or image or json) so that it can be accessed using HTTP/HTTPS protocol. If Document Builder is deployed on Websphere Liberty profile, the simple way is to place the file (ex. text.xml) within <DocumentBuilder>\server\liberty\servers\clm\apps\rpeng.war so that it can be accessed as
https://<mydocbuilderserver>:<port>/rpeng/text.xml.
You can also create a folder (ex. testdata) within <DocumentBuilder>\server\liberty\servers\clm\apps\rpeng.war and place the files within testdata folder. Then the file can be accessed as
https://<mydocbuilderserver>:<port>/rpeng/testdata/text.xml
This http(s) path can be used as URI while creating the connection.