.NET中服务器上的Web服务 - 基本 [英] web service on the server in .NET - basic

查看:92
本文介绍了.NET中服务器上的Web服务 - 基本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我只有很少的网络背景,我需要自己做这个任务所以我将非常感谢你的帮助



这是我老板告诉我做的事情(据我所知) - 我必须编写一个Web服务服务器,它从Web站点获取SOAP消息中的一些参数,检查它们的有效性然后在SQL DB中插入/更新它们。我必须在Visual Studio 2010中使用vb.NET。我读了一下它,如果我理解正确.NET已经注意了SOAP和WSDL问题,它对我来说是透明的,不是吗?或者我应该安装或实施任何相关的内容?我在网上看到一些例子,你要做的就是在asmx文件中实现web_method,是这样吗?如果是的话,我的方法将获得哪些参数 - 整组20个参数应该在消息中?在我看来,我需要知道谁消费这项服务,怎么样,不是吗?或者我可以假设他会根据我提供的服务进行调整?



我需要声明或更新以连接数据库的任何内容?

抱歉这个长度,希望我能理解......任何帮助都会受到赞赏 - 如果答案太长我会很高兴只是为了得到一些我可以阅读和学习的相关材料的指针。 />


非常感谢

Hi all

I have just little background in web and I need to do this task by myself so I will be most grateful for your help

this is what my boss told me to do (as far as I understand) - I have to write a web service server which gets some parameters in SOAP message from a web site, check their validity and then insert/update them in a SQL DB. I have to do it using vb.NET in Visual Studio 2010. I read a bit about it and if I understand correctly .NET takes care already of the SOAP an WSDL issue, it is transparent to me, isn''t it? or should I install or implement anything concerning that? I saw some examples in the net that all you have to do is to implement web_method in the asmx file, is it so? if yes, which parameters will my method get - the whole bunch of 20 parametres supposed to be in the message? It seems to me I need to know who consumes the service and how, no? or I can assume that he will adjust himself to the service I offer?

anything I need to declare or to update in order to connect to the DB?
Sorry for the length, Hope I am understood... Any help will be appreciated - uf the answer is too long I will be happy just to get a pointer to some relevant material I can read and learn.

Thanks a lot

推荐答案





以下链接将显示如何在客户端应用程序中实现Web服务和消费:

了解ASP.NET中Web服务的基础知识 [ ^ ]

http://www.aspdo tnet-suresh.com/2011/05/aspnet-web-service-or-creating-and.html [ ^ ]


这篇关于.NET中服务器上的Web服务 - 基本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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