如何从xml文件创建Web服务 [英] how to create webservice from xml file

查看:111
本文介绍了如何从xml文件创建Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在系统中保存了一个rssfeed.我想使用它创建一个Web服务,任何人都可以给我一些想法吗

i saved one rssfeed in my system .i want to create a webservice using it, can any one give me some idea

推荐答案

Web服务是通过编程创建的,而不是通过对任何类型的数据文件(无论是否为XML)进行操作.

对于WCF,可以将其视为Web服务的技术替代方案. Microsoft认为,随着WCF的引入,Web Service已经过时了,并建议对于所有新开发,都使用WCF代替Web Services.实际上,与WCF相比,Web服务具有许多局限性,并且在开发中有些繁琐.同时,当需要与非.NET技术兼容时,可以使用Web服务.

参见:
http://en.wikipedia.org/wiki/Web_Services [ http://en.wikipedia.org/wiki/Windows_Communication_Foundation [ http://msdn.microsoft.com/en-us/netframework/aa663324.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/dd456779.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/aa290754%28v = vs.71%29.aspx [ ^ ].


—SA
Web services are created by programming, not by manipulations with any kind of data files, XML or not.

As to WCF, it can be considered as a technology alternative to Web Services. Microsoft considers Web Service as rendered obsolete with introduction of WCF and recommends using WCF instead of Web Services for all new developments. Indeed, Web Services have a number of limitation and somewhat cumbersome in development compared to WCF. At the same time, Web Services can be used when a compatibility with non-.NET technology is required.

See:
http://en.wikipedia.org/wiki/Web_Services[^],
http://en.wikipedia.org/wiki/Windows_Communication_Foundation[^],
http://msdn.microsoft.com/en-us/netframework/aa663324.aspx[^],
http://msdn.microsoft.com/en-us/library/dd456779.aspx[^],
http://msdn.microsoft.com/en-us/library/aa290754%28v=vs.71%29.aspx[^].


—SA


这篇关于如何从xml文件创建Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆