Files
mono/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebServiceHandler.cs
T
Lluis Sanchez c8a7cd4755 * HtmlFormParameterReader.cs, HtmlFormParameterWriter.cs,
HttpGetClientProtocol.cs, HttpPostClientProtocol.cs,
	  HttpSimpleClientProtocol.cs, MimeFormatter.cs, MimeParameterWriter.cs,
	  NopReturnReader.cs, UrlEncodedParameterWriter.cs, UrlParameterReader.cs,
	  UrlParameterWriter.cs, ValueCollectionParameterReader.cs,
	  WebClientAsyncResult.cs, XmlReturnReader.cs, XmlReturnWriter.cs
	  : Implemented.

	* HttpSoapWebServiceHandler.cs, SoapClientMessage.cs, SoapServerMessage.cs,
	  SoapDocumentationHandler.cs, SoapHttpClientProtocol.cs,
	  WebServiceHelper.cs: Changed due to modifications in  TypeStubInfo.

	* Methods.cs: Moved common code to TypeStubInfo.cs.
	* WebServiceHandler.cs: Moved invoke code to HttpSoapWebServiceHandler.cs
	* ServerProtocol.cs, SoapServerProtocol.cs: Fixed formatting.
	* WebServiceHandlerFactory.cs: Added support for HttpGet and HttpPost.

svn path=/trunk/mcs/; revision=18472
2003-10-01 15:22:05 +00:00

71 lines
1.3 KiB
C#

//
// System.Web.Services.Protocols.WebServiceHandler.cs
//
// Author:
// Tim Coleman ([email protected])
// Lluis Sanchez Gual ([email protected])
//
// Copyright (C) Tim Coleman, 2002
//
using System;
using System.Reflection;
using System.Web.Services;
namespace System.Web.Services.Protocols
{
internal class WebServiceHandler: IHttpHandler
{
Type _type;
public WebServiceHandler (Type type)
{
_type = type;
}
public Type ServiceType
{
get { return _type; }
}
public virtual bool IsReusable
{
get { return false; }
}
public virtual void ProcessRequest (HttpContext context)
{
}
protected object CreateServerInstance ()
{
return Activator.CreateInstance (ServiceType);
}
[MonoTODO]
protected IAsyncResult BeginCoreProcessRequest (AsyncCallback callback, object o)
{
throw new NotImplementedException ();
}
[MonoTODO]
protected void CoreProcessRequest ()
{
throw new NotImplementedException ();
}
[MonoTODO]
protected void EndCoreProcessRequest (IAsyncResult result)
{
throw new NotImplementedException ();
}
[MonoTODO]
private void WriteReturns (object[] returnValues)
{
//protocol.WriteReturns (returnValues, outputStream);
throw new NotImplementedException ();
}
}
}