如何使用网络服务 [英] How to use a webservice

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

问题描述

您好专家,

我有一个通用的Web表单,用户可以在其中输入详细信息.我将它们存储在数据库中.现在,使用这些详细信息,我应该利用客户端的Web服务并发送数据.为此,我使用VB.net asp.net.请给我一些关于以下内容的想法

要使用Web服务,我需要哪些先决条件?不要只是说您需要网络服务,用户名和密码.请详细说明...我的意思是说说Laymen
怎么做?
任何显示Web服务示例的示例和简单代码.我在Google中看到的所有内容都是很长的网络服务,我无法理解这么长的部分.希望您能理解.

Hello Experts,

I have a Generic web form where users enter the details. I am storing them in my Database. Now that using these details, I should make use of my client''s webservices and send the data. For this I am using VB.net asp.net. Please give me some ideas on the following

What are prerequisites I need inorder to consume the webservice? Don''t just say you need webservice, username and password. Please elaborate... I mean talk in terms of Laymen
How to do the same?
Any sample and easy code that shows an example for webservice. All those I have seen in Google are very long webservices and I am not able to understand such long parts. I hope you understand.

推荐答案

由于您是Web服务的新手,因此您应该首先深入研究并了解应该使用哪种服务框架.以及真正的服务是什么.您将如何使用它,客户端是什么,作业服务器将执行什么操作.

我写了一篇文章,它创建了一个Web服务,并且可以通过网站使用它.您可以阅读该文章,并使用提供的模板对其进行测试.它将使您了解Web服务的概念以及服务器和客户端之间的连接.

创建要由互联设备通过Internet使用的Web服务 [ ^ ]
Since you''re a new person to the Web Service, you should first try to dig deeper and understand which service framework you should use and what a service in real is. How you would use it, what a client is what job server performs.

I have written an article, that creates a web service, and can be consumed through a website. You can read that article, and use the template provided to test it. It will let you understand the concepts of the web service and connections between server and clients.

Creating a Web Service to be consumed by connected Devices via Internet[^]


这篇关于如何使用网络服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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