Hi Sudarshan,
All the variables that are present in your DSP will be automaticaly taken into the pipeline of the service that you are invoking. You can test it by saving the pipeline in the service getting executed from DSP. All the variables will appear as String and StringList as well.
And for your second, it is the vice versa, all the variables in the output pipeline will be transfered to DSP after execution which is under a limitation of scopes. To loop and to extract, there are wM tags available.
You can refer this guide for more information.
Dynamic Server Pages and Output Templates Developers Guide 65
Regards,
Suren
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB