public object CreateResponse(IServiceResponse response)
{
CreateSessionResponse body = response as CreateSessionResponse;
if (body == null)
{
body = new CreateSessionResponse();
body.ResponseHeader = ((ServiceFault)response).ResponseHeader;
}
return new CreateSessionResponseMessage(body);
}
#endregion