I've a requirement to send dynamic CSV files as an attachment depending on the incoming request. along with customised http headers as part of response. Can someone show me an example on how to do it?
Are they SOAP attachments? Are the CSV files selected based on the request payload? Do you have an example of the headers you want to respond with? Are the headers also dynamic?
William: Many Thanks for taking time to read and respond
Its not SOAP attachments and headers are not dynamic. I figured out how to add headers in the response which is by adding parameters in the "Transport Header" tab from the responder. All I need is, using a script, I need to some JSON content along with a CSV file (I also figured out how to select dynamic CSV files based on request) as an attachment. Is there any "response" object that I can use? If its there I think I can send back JSON payload along with attachment....