To add more, make sure you the file exists in the target location and pass the file path to getFile service.
The Integration Server itself needs to have security access to this network location. In this case, the Integration Server is running as a Windows Service and need to be changed to run with an account that has access to the network location required.
When modifying the Windows Services “Software AG Integration Server” in Properties there is a “Log On” tab. Rather than use “Local System account”, an account with the correct authorization for the network location should be specified. Stop/start Integration Server for this to take effect.
Also, check the settings, if this can help you:
watt.security.pub.getFile.checkReadAllowed
Specifies whether the pub.file:getFile service is to check the allowedReadPaths property in
the fileAccessControl.cnf file to determine if the requested file can be retrieved from the
file system. The allowedReadPaths property contains a list of directories to which the
services in the pub.file folder have read permission.
When watt.security.pub.getFile.checkReadAllowed is set to true, the pub.file:getFile
service checks the allowedReadPaths property in the fileAccessControl.cnf file. If the
requested file or file directory is listed, the pub.file:getFile service returns its contents to the
pipeline.
If wa?.security.pub.getFile.checkReadAllowed is set to true and the file or file directory
is not listed in the allowedReadPaths property, the pub.file:getFile service throws an
exception.
When wa?.security.pub.getFile.checkReadAllowed is set to false, the pub.file:getFile
service retrieves the specified file from the local file system without checking the
fileAccessControl.cnf file.
Changes to this property take effect immediately. However, if you modify the
fileAccessControl.cnf file, the WmPublic package must be reloaded before the changes
take effect.
For more information about the pub.file:getFile service and configuring the
fileAccessControl.cnf file, see webMethods Integration Server Built-In Services Reference.
#webMethods#Integration-Server-and-ESB