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