How to pass a document via a dsp page?

I have a flow service which requires a document as an input.
The input is to be taken from the user via a DSP page.


Please check this documentation link below and look for section called “DSPs and building output templates”


As fas as I know, DSP could only accepts String and String List.

If by document you mean a file: HTTP uploading a binary file to IS - webMethods - Software AG Tech Community & Forums

Form a xml and pass it as string from dsp to service and in service invoke xml ToDocument services