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 में आवश्यक होने पर है।
आप पूरी तरह से विशेषता को भी हटा सकते हैं और यह अभी भी काम करना चाहिए। –