Следующий контракт не генерирует операцию в метаданных, но если я удалю действие ответа или установлю для него значение "", метаданные теперь сгенерируют операцию правильно. Почему?
[System.ServiceModel.ServiceContractAttribute(Namespace="http://Test/Publish", ConfigurationName="IFCRPublish")]
public interface IFCRPublish
{
// CODEGEN: Generating message contract since the operation PublishNotification is neither RPC nor document wrapped.
[System.ServiceModel.OperationContractAttribute(Action="http://Test/PublishNotification", ReplyAction="*")]
PublishNotificationResponse1 PublishNotification(PublishNotificationRequest1 request);
}
Полный код службы находится в Метаданные WCF отсутствуют операции , если это необходимо.