I need some help with an webservice.
Today I have written an application that takes a pdf file, extract all coordinates for the text and than convert the pdf file to a jpg picture.
Now I would like to create a webservice that does that.
Ie. From my client I want to post a pdf file, and I want to get back a jpg file
and a TList that contains the coordinates of all texts.
So the thing I need help with here is
1. How to upload a file to a webservice and retrun antother file?
2. I also want to return a list.
Can someone help me out here or give me some good examples.
One comment that's important her, I don't want to use a physical file on the webservice,.
The code I will use for converting the document is a com object that has
a function LoadFromVariant and SaveToVariant
that I can use like:
AnotherByteArray = MyObject.SaveToVariant();