6
다음 계약에서는 메타 데이터에 작업을 생성하지 않지만 아직 회신 작업을 제거하거나 설정하면 메타 데이터가 올바르게 작업을 생성합니다. 왜?WCF ReplyAction = "*"은 메타 데이터를 깰 것임
[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 metadata missing operations입니다.
속성을 완전히 삭제해도 여전히 작동 할 수 있습니다. –