@Eduard Lebedyuk  There is one problem , The file gets successfully saved in S3 , but when we try to retrieve the content the data is damaged.

This works fine for text files but if we have any file which is PDF or Image then when we try to view that same file the data is completely damaged we get in the for stream, but not actual image or PDF which we had uploaded.

How can I get the original file(image/PDF) which I uploaded back as a response instead of a stream?

@Julius Kavay 

Can you please help me in fixing this issue.

As you said it is similar to terminal Output but quote chars are escaped.

we have a GET call where in we need to send Data in JSOn Format.
For Property States of My Class which is type of List of %String

'States': JSON_ARRAY((SELECT MyClass_toJson(ServiceRegions_States) from MyClass)

I get output as I shared above.

Thanks @Eduard Lebedyuk , Actually that my mistake I missed XDATA Mapping.

But I was successfully able to connect to Amazon with Operation and as a Service I was using Enslib.File.PassThrough Service.
But in this approch I will have to store file at a location and fetrch from that for sending to operation.

But I dont want to store files in any filepath rather want to just direct pass a file coming as a request in Service and calling Operation .

I am unable to do that , How can I achieve this ?

Actually I tried to pass the file to Business Service and it is coming up in BS but when I call BO and pass the file as Input, in BO File is Blank.