Replies

@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?

Thanks @ Eduard Lebedyuk , It worked I guess, the way I wanted.
Thank You so much, I just changed the Property of Request class from %BinaryStream to %Stream.Global Binary as You advised.

Thanks @Suman Samanta,
 

Thanks @Matthew Giesmann  , You were correct, it was getting Difficult So we made Employee a Standalone Table and other changes as well, then we gatered data using SQL Query.

Thanks @Muhammad Awan  as well, for quick help in the same.

@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 @Julius Kavay

for above method

I used above method from Terminal I get proper result.
["KY","TN","AL","GA"]
But from Code I am getting

["\"KY\",\"TN\",\"AL\",\"GA\""]

Why is that so? How can I get same result as I get by running Terminal.

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. 

Also , How can I create a Business Service which can call this Business operation from Code Itself.  How can I do this ?