Author: davide128 | Posted on: 9/10/2010 1:56:40 PM | Views : 1192

Hello.. Can someone please explain to me why this web service is not liking the Response.clear , response. anything. Seems like I can't use an httpresponse inside a web service. I had this code working in a regular user control. I ported it to web service and now I ran into this. pretty much says response is not declared
 
Imports System.Web Imports System.Web.Services Imports System.Web.Services.Protocols Imports System.Web.HttpResponse Imports System.IO Imports Ionic.Zip ' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. <System.Web.Script.Services.ScriptService()> _ <WebService(Namespace:="http://tempuri.org/")> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Public Class DownLoadUIService Inherits System.Web.Services.WebServic ...

Go to the complete details ...