Soap12Handler
Assembly: ServiceStack.dll
View Source
Declaration
public class Soap12Handler : SoapHandler, IHttpAsyncHandler, IHttpHandler, IServiceStackHandler, IOneWay, ISyncReply
Methods
GetRequestMessageFromStream(Stream)
View Source
Declaration
protected override Message GetRequestMessageFromStream(Stream requestStream)
Returns
System.ServiceModel.Channels.Message
Parameters
Type | Name |
---|---|
System.IO.Stream | requestStream |
Inherited Methods
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
Type | Name |
---|---|
System.Object | response |
System.ServiceModel.Channels.MessageVersion | msgVersion |
System.Type | requestType |
System.Boolean | noMsgAction |
EmptyResponse(Message, Type)
View Source
Declaration
public Message EmptyResponse(Message requestMsg, Type requestType)
Returns
System.ServiceModel.Channels.Message
Parameters
Type | Name |
---|---|
System.ServiceModel.Channels.Message | requestMsg |
System.Type | requestType |
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
Type | Name |
---|---|
System.ServiceModel.Channels.Message | message |
ServiceStack.RequestAttributes | requestAttributes |
ServiceStack.Web.IRequest | httpReq |
ServiceStack.Web.IResponse | httpRes |
GetAction(Message)
View Source
Declaration
public static string GetAction(Message message)
Returns
System.String
Parameters
Type | Name |
---|---|
System.ServiceModel.Channels.Message | message |
GetAction(Message, String)
View Source
Declaration
protected string GetAction(Message requestMsg, string xml)
Returns
System.String
Parameters
Type | Name |
---|---|
System.ServiceModel.Channels.Message | requestMsg |
System.String | xml |
GetActionFromHttpContext()
View Source
Declaration
protected static string GetActionFromHttpContext()
Returns
System.String
GetRequestMessage(Stream, MessageVersion)
View Source
Declaration
protected static Message GetRequestMessage(Stream inputStream, MessageVersion msgVersion)
Returns
System.ServiceModel.Channels.Message
Parameters
Type | Name |
---|---|
System.IO.Stream | inputStream |
System.ServiceModel.Channels.MessageVersion | msgVersion |
GetRequestMessageFromStream(Stream)
View Source
Declaration
protected abstract Message GetRequestMessageFromStream(Stream requestStream)
Returns
System.ServiceModel.Channels.Message
Parameters
Type | Name |
---|---|
System.IO.Stream | requestStream |
GetRequestType(Message, String)
View Source
Declaration
protected Type GetRequestType(Message requestMsg, string xml)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.ServiceModel.Channels.Message | requestMsg |
System.String | xml |
GetSoap11RequestMessage(Stream)
View Source
Declaration
protected static Message GetSoap11RequestMessage(Stream inputStream)
Returns
System.ServiceModel.Channels.Message
Parameters
Type | Name |
---|---|
System.IO.Stream | inputStream |
GetSoap12RequestMessage(Stream)
View Source
Declaration
protected static Message GetSoap12RequestMessage(Stream inputStream)
Returns
System.ServiceModel.Channels.Message
Parameters
Type | Name |
---|---|
System.IO.Stream | inputStream |
GetSoapContentType(String)
View Source
Declaration
public string GetSoapContentType(string contentType)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | contentType |
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
Type | Name |
---|---|
System.ServiceModel.Channels.Message | requestMsg |
ServiceStack.Web.IRequest | httpRequest |
ServiceStack.Web.IResponse | httpResponse |
SendOneWay(Message, IRequest, IResponse)
View Source
Declaration
protected Task SendOneWay(Message requestMsg, IRequest httpRequest, IResponse httpResponse)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.ServiceModel.Channels.Message | requestMsg |
ServiceStack.Web.IRequest | httpRequest |
ServiceStack.Web.IResponse | httpResponse |
SerializeSoap11ToBytes(IRequest, Object)
View Source
Declaration
public static byte[] SerializeSoap11ToBytes(IRequest req, object response)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | response |
SerializeSoap11ToStream(IRequest, Object, Stream)
View Source
Declaration
public static void SerializeSoap11ToStream(IRequest req, object response, Stream stream)
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | response |
System.IO.Stream | stream |
SerializeSoap12ToBytes(IRequest, Object)
View Source
Declaration
public static byte[] SerializeSoap12ToBytes(IRequest req, object response)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | response |
SerializeSoap12ToStream(IRequest, Object, Stream)
View Source
Declaration
public static void SerializeSoap12ToStream(IRequest req, object response, Stream stream)
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | req |
System.Object | response |
System.IO.Stream | stream |
IOneWay.SendOneWay(Message)
View Source
Declaration
void IOneWay.SendOneWay(Message requestMsg)
Parameters
Type | Name |
---|---|
System.ServiceModel.Channels.Message | requestMsg |
ISyncReply.Send(Message)
View Source
Declaration
Message ISyncReply.Send(Message requestMsg)
Returns
System.ServiceModel.Channels.Message
Parameters
Type | Name |
---|---|
System.ServiceModel.Channels.Message | requestMsg |
Implements
System.Web.IHttpAsyncHandler
System.Web.IHttpHandler
- ServiceStack.Host.Handlers.IServiceStackHandler
- ServiceStack.IOneWay
- ServiceStack.ISyncReply