DSP is meant for input/output of data… as RMG suggested, you will need a service to read the config file and display it using a DSP. Since its a config file you are interested in reading, I presume that its location would be static - You can create a flow service with ‘configString’ as ouput. In this flow make a call to pub.file:getFile (you may hardcode the filename here - based on assumption), then use bytesToString service to convert the bytes from getFile into a string - map this string to output ‘configString’.
Create a dsp, that invokes your flow service and displays the output ‘configString’.
HTH, Rohit
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods