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