借助Web服务与计算机之间进行通信 [英] communicating between to computers with the help of web service

查看:52
本文介绍了借助Web服务与计算机之间进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Web服务将xml文件或文本文件从一台计算机发送到另一台计算机?

请回答一些"hello world"程序..


thanxs ....

how to send the xml file or text file from one computer to the another computer by using webservice?

please reply with some "hello world" program..


thanxs....

推荐答案

我认为没有人会为您创建软件.该论坛旨在帮助您发展并减少挣扎.该论坛不是要我们做您的工作.

要使用Web服务进行通信,请在Visual Studio中打开一个新的解决方案,并添加一个(例如)Windows Forms项目和一个ASP.NET Webservices(也许是WCF?)项目. WCF的项目模板中有一个"hello world"实现!

启动WCF服务并复制URI.现在,右键单击您的Win Project,然后选择添加Web参考".将URL粘贴到对话框屏幕中,就可以调用Web服务了.

试试看,如果您无法使用它,请随时向我们寻求帮助:)

祝你好运,

爱德华
I don''t think anyone is going to create software for you. This forum is to help you developing and make you struggle less. This forum is not about asking us to do your work.

To communicate using a webservice, open a new solution in Visual Studio and add a (for example) Windows Forms project and a ASP.NET Webservices (maybe WCF?) project. There''s a "hello world" implementation in the WCF''s project template!

Start the WCF Service and copy the URI. Now right click your Win Project and choose ''Add Web Reference''. Paste the URL in the dialog screen and you''re ready to call the webservice.

Give it a try, and if you cannot get it to work, don''t hesitate to ask us for help :)

Good luck,

Eduard


这篇关于借助Web服务与计算机之间进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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