Hello,
I've, probably, a simple problem but I'm not able to figure the
solution!!!
I've realized a web service method that reads an Excel sheet and
convert the information in xml. This conversion is time consuming and
I've the idea to spilt the web service in 3 metods:
"Xls2Xml" that converts the files, generate the xml and store it in the
server, returns the id of the operation
"ConversionStatus" that ceck the progress of "Xls2Xml" sending the id
of the operation.
The client could ceck with "ConversionStatus" the progress of the
operation
Last metod "GetXml" to get the converted file sending the id of the
operation.
The client would fire "Xls2Xml", ceck with "ConversionStatus" if the
operation is completed and download the file with "GetXml".
My first idea was to write on the server a text file that contains the
status of the conversion.
The name of the file is the "GUID" of the operation.
With "ConversionStatus" i could read the text file and know the
progress of the operation.
This is a newbe solution obviusly!!!!
I imagine that there is the possibility to read directly with
ConversionStatus a variable generated by Xls2Xml that contains the
progress of the operation.
How I can do this? It involves threading?
Thanks Paolo Mattiollo
How i could