Hi Mark you don't need to create a file for that if your web service returns the html then you can do the following:
lchtml = losoap.MyWebServiceMethod()
Response.Write lchtml
>I have created a web service that does a select into a cursor and then runs GENHTML.prg on the cursor and then FILETOSTR on the output ogf GENHTML.
>
>I am now getting file does not exist when I call my WS from an ASP page.
>where is the best place to put my temporary files to ensure that they are seen when called from a browser.
>
>So far I have tried putting them in the c:\temp\ folder on the workstation that has IIS installed and also putting them in my C:\INETPUB\WEBPUB\ folder
>
>Many thanks
Alexandre Palma
Senior Application Architect