Skip to main content

SoapHandler

Assembly: ServiceStack.dll
View Source
Declaration
public abstract class SoapHandler : ServiceStackHandlerBase, IHttpAsyncHandler, IHttpHandler, IServiceStackHandler, IOneWay, ISyncReply

Inherited Properties

HandlerAttributes

View Source
Declaration
public RequestAttributes HandlerAttributes { get; set; }

IsReusable

View Source
Declaration
public override bool IsReusable { get; }

Methods

IOneWay.SendOneWay(Message)

View Source
Declaration
void IOneWay.SendOneWay(Message requestMsg)
Parameters
TypeName
System.ServiceModel.Channels.MessagerequestMsg

SendOneWay(Message, IRequest, IResponse)

View Source
Declaration
protected Task SendOneWay(Message requestMsg, IRequest httpRequest, IResponse httpResponse)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.ServiceModel.Channels.MessagerequestMsg
ServiceStack.Web.IRequesthttpRequest
ServiceStack.Web.IResponsehttpResponse

ISyncReply.Send(Message)

View Source
Declaration
Message ISyncReply.Send(Message requestMsg)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.ServiceModel.Channels.MessagerequestMsg

GetRequestMessageFromStream(Stream)

View Source
Declaration
protected abstract Message GetRequestMessageFromStream(Stream requestStream)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.IO.StreamrequestStream

Send(Message, IRequest, IResponse)

View Source
Declaration
protected Task<Message> Send(Message requestMsg, IRequest httpRequest, IResponse httpResponse)
Returns

System.Threading.Tasks.Task<System.ServiceModel.Channels.Message>

Parameters
TypeName
System.ServiceModel.Channels.MessagerequestMsg
ServiceStack.Web.IRequesthttpRequest
ServiceStack.Web.IResponsehttpResponse

EmptyResponse(Message, Type)

View Source
Declaration
public Message EmptyResponse(Message requestMsg, Type requestType)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.ServiceModel.Channels.MessagerequestMsg
System.TyperequestType

ExecuteMessage(Message, RequestAttributes, IRequest, IResponse)

View Source
Declaration
protected async Task<Message> ExecuteMessage(Message message, RequestAttributes requestAttributes, IRequest httpReq, IResponse httpRes)
Returns

System.Threading.Tasks.Task<System.ServiceModel.Channels.Message>

Parameters
TypeName
System.ServiceModel.Channels.Messagemessage
ServiceStack.RequestAttributesrequestAttributes
ServiceStack.Web.IRequesthttpReq
ServiceStack.Web.IResponsehttpRes

GetAction(Message)

View Source
Declaration
public static string GetAction(Message message)
Returns

System.String

Parameters
TypeName
System.ServiceModel.Channels.Messagemessage

CreateResponseMessage(Object, MessageVersion, Type, Boolean)

View Source
Declaration
public static Message CreateResponseMessage(object response, MessageVersion msgVersion, Type requestType, bool noMsgAction)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.Objectresponse
System.ServiceModel.Channels.MessageVersionmsgVersion
System.TyperequestType
System.BooleannoMsgAction

SerializeSoap11ToBytes(IRequest, Object)

View Source
Declaration
public static byte[] SerializeSoap11ToBytes(IRequest req, object response)
Returns

System.Byte[]

Parameters
TypeName
ServiceStack.Web.IRequestreq
System.Objectresponse

SerializeSoap12ToBytes(IRequest, Object)

View Source
Declaration
public static byte[] SerializeSoap12ToBytes(IRequest req, object response)
Returns

System.Byte[]

Parameters
TypeName
ServiceStack.Web.IRequestreq
System.Objectresponse

SerializeSoap11ToStream(IRequest, Object, Stream)

View Source
Declaration
public static void SerializeSoap11ToStream(IRequest req, object response, Stream stream)
Parameters
TypeName
ServiceStack.Web.IRequestreq
System.Objectresponse
System.IO.Streamstream

SerializeSoap12ToStream(IRequest, Object, Stream)

View Source
Declaration
public static void SerializeSoap12ToStream(IRequest req, object response, Stream stream)
Parameters
TypeName
ServiceStack.Web.IRequestreq
System.Objectresponse
System.IO.Streamstream

GetSoap12RequestMessage(Stream)

View Source
Declaration
protected static Message GetSoap12RequestMessage(Stream inputStream)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.IO.StreaminputStream

GetSoap11RequestMessage(Stream)

View Source
Declaration
protected static Message GetSoap11RequestMessage(Stream inputStream)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.IO.StreaminputStream

GetRequestMessage(Stream, MessageVersion)

View Source
Declaration
protected static Message GetRequestMessage(Stream inputStream, MessageVersion msgVersion)
Returns

System.ServiceModel.Channels.Message

Parameters
TypeName
System.IO.StreaminputStream
System.ServiceModel.Channels.MessageVersionmsgVersion

GetRequestType(Message, String)

View Source
Declaration
protected Type GetRequestType(Message requestMsg, string xml)
Returns

System.Type

Parameters
TypeName
System.ServiceModel.Channels.MessagerequestMsg
System.Stringxml

GetAction(Message, String)

View Source
Declaration
protected string GetAction(Message requestMsg, string xml)
Returns

System.String

Parameters
TypeName
System.ServiceModel.Channels.MessagerequestMsg
System.Stringxml

GetActionFromHttpContext()

View Source
Declaration
protected static string GetActionFromHttpContext()
Returns

System.String

GetSoapContentType(String)

View Source
Declaration
public string GetSoapContentType(string contentType)
Returns

System.String

Parameters
TypeName
System.StringcontentType

Inherited Methods

AssertAccess(IHttpRequest, IHttpResponse, Feature, String)

View Source
Declaration
protected bool AssertAccess(IHttpRequest httpReq, IHttpResponse httpRes, Feature feature, string operationName)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.Web.IHttpRequesthttpReq
ServiceStack.Web.IHttpResponsehttpRes
ServiceStack.Featurefeature
System.StringoperationName

AssertOperationExists(String, Type)

View Source
Declaration
protected static void AssertOperationExists(string operationName, Type type)
Parameters
TypeName
System.StringoperationName
System.Typetype

CreateContentTypeRequestAsync(IRequest, Type, String)

View Source
Declaration
protected static async Task<object> CreateContentTypeRequestAsync(IRequest httpReq, Type requestType, string contentType)
Returns

System.Threading.Tasks.Task<System.Object>

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
System.TyperequestType
System.StringcontentType

DeserializeHttpRequestAsync(Type, IRequest, String)

View Source
Declaration
public static Task<object> DeserializeHttpRequestAsync(Type operationType, IRequest httpReq, string contentType)
Returns

System.Threading.Tasks.Task<System.Object>

Parameters
TypeName
System.TypeoperationType
ServiceStack.Web.IRequesthttpReq
System.StringcontentType

ExecuteService(Object, IRequest)

View Source
Declaration
protected static object ExecuteService(object request, IRequest httpReq)
Returns

System.Object

Parameters
TypeName
System.Objectrequest
ServiceStack.Web.IRequesthttpReq

GetCustomRequestFromBinder(IRequest, Type)

View Source
Declaration
protected static object GetCustomRequestFromBinder(IRequest httpReq, Type requestType)
Returns

System.Object

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
System.TyperequestType

GetOperationType(String)

View Source
Declaration
public static Type GetOperationType(string operationName)
Returns

System.Type

Parameters
TypeName
System.StringoperationName

GetResponseAsync(IRequest, Object)

View Source
Declaration
public virtual Task<object> GetResponseAsync(IRequest httpReq, object request)
Returns

System.Threading.Tasks.Task<System.Object>

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
System.Objectrequest

HandleResponse(IRequest, IResponse, Object)

View Source
Declaration
public async Task HandleResponse(IRequest httpReq, IResponse httpRes, object response)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
ServiceStack.Web.IResponsehttpRes
System.Objectresponse

UpdateResponseContentType(IRequest, Object)

View Source
Declaration
public void UpdateResponseContentType(IRequest httpReq, object response)
Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
System.Objectresponse

WriteDebugResponse(IResponse, Object)

View Source
Declaration
public Task WriteDebugResponse(IResponse httpRes, object response)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.Web.IResponsehttpRes
System.Objectresponse

Implements