[英]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.