public virtual SetPublishingModeResponseMessage SetPublishingMode(SetPublishingModeMessage request)
{
SetPublishingModeResponse response = null;
try
{
// OnRequestReceived(message.SetPublishingModeRequest);
SetRequestContext(RequestEncoding.Xml);
response = (SetPublishingModeResponse)SetPublishingMode(request.SetPublishingModeRequest);
// OnResponseSent(response);
return new SetPublishingModeResponseMessage(response);
}
catch (Exception e)
{
Exception fault = CreateSoapFault(request.SetPublishingModeRequest, e);
// OnResponseFaultSent(fault);
throw fault;
}
}
#else