Hello.
From OOP prespective is always talked about "the black box", something goes in, and something out.
I have been developing a webServices in AX against dozens of service providers. In testing phrase I have take the output to infolog or just use print statement.
Now I have to implement the service to production env. so the output can obviously not be an info dialog.
I can manage input data through parameters of course, but the recieving data can be everyting, I don't know it in front, I dont know how much information is retrived back, and I don't care where and how the output information is used: Report, form, another class - I just don't care.
From OOP prespective what datatype or what approach should I use?
I probably know the answer: I will store the output in container, but can someone point to a blog or more relevant information about the thinking against this situations: I don't know what will come out, but I have to store it all.