[英]WCF: How to generate WSDL file based on XSD files and service contract?
我已經查看了xsd.exe,wsdl.exe和svcutil.exe實用程序,以便找到基於XSD文件和服務協定生成WSDL文件的方法,但看不到解決方案。
服務合同是這樣的:
[ServiceContract]
public interface IMessageManager
{
[OperationContract]
string ConvertToUpper(string text);
}
public class MessageManager : IMessageManager
{
public string ConvertToUpper(string text)
{
return text.ToUpper();
}
}
如果有人可以提出建議,我將不勝感激。
先感謝您。
戈蘭
我無法理解您的問題,我假設您需要使用XSD提取數據協定,為此,請嘗試-
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.