hi, i have designed a web service which would create 2 csv files on the system. I want to send the links to the location of the files as an url attachment over the aspx page.
like : (http://) myserver/download.aspx?file1=C:\temp\image1.png&file2=C:\temp\image2.png
i kept http in brackets so that you can read the whole line.
the output from the asmx web service is :
<?xml version="1.0" encoding="utf-8" ?>
- <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
<string>http:\\xx.xx.xxx.xxx\C:\temp\image1.png</string>
<string>http:\\xx.xx.xxx.xxx\C:\temp\image2.png</string>
</ArrayOfString>
where xx.xx.xxx.xxx is the ipaddress. this is the whole output i get from the webservice.
how do i get the aspx page to send the attachment in the format i mentioned above? I have added an asp website to the project and added the webservice as a web reference to this but i do not know how to get the location from the xml output file of the webservice result.