Hello, I'm new to TOS but I'm trying to learn. Due to some guidelines I need to submit a file through a web service, but this web service I think only works with binary files. The file is sent as a parameter. So far I have been using the component tSoap to send the request to the WS, and it has worked, but now since I have to send a file I'm stuck. How can I convert (for example a PDF or JPEG) file to a binary file, and the send it as a parameter in a WS. Any help will be greatly appreciated. Please, remember that I am new at this, so if you can explain to me in detail I'll appreciate it. I'm using TOS 6.0.1 for Data Integration.
Hi
What's data type of parameter defined in WS? Object or others? If Object, use tFileInputRaw to read the file as a bytes array, and then pass this object as input parameter to WS.