public virtual CreateSessionResponseMessage CreateSession(CreateSessionMessage request)
{
CreateSessionResponse response = null;
try
{
// OnRequestReceived(message.CreateSessionRequest);
SetRequestContext(RequestEncoding.Xml);
response = (CreateSessionResponse)CreateSession(request.CreateSessionRequest);
// OnResponseSent(response);
return new CreateSessionResponseMessage(response);
}
catch (Exception e)
{
Exception fault = CreateSoapFault(request.CreateSessionRequest, e);
// OnResponseFaultSent(fault);
throw fault;
}
}
#else