调用网络服务 [英] Calling a web service
本文介绍了调用网络服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用此Web服务http://services.aonaware.com/DictService/DictService.asmx
寻找一个单词的意思.
在我的WPF应用程序中,我能够创建Service Reference(几行代码),但是由于某种原因,我无法调用该Web服务.只有几行代码,我如何才能通过使用此服务来查找世界"Hello"的含义.非常感谢您的帮助.
I would like to use this web service http://services.aonaware.com/DictService/DictService.asmx
To find a meaning a word.
In my WPF application I was able to create Service Reference (few line of code) but for some reason I was unable to call that web service. It is only few line of code how can I find the meaning of world "Hello" by using this service. Your help will be very much appreciated.
推荐答案
查看这些链接它将帮助您学习如何使用Web服务:
如何制作和使用简单的WebService. [ ^ ]
http://a1ashiish-csharp.blogspot. com/2012/01/cnet-how-to-consume-web-service-in-cnet.html [ http://social.msdn.microsoft.com /Forums/zh-CN/asmxandxml/thread/5486c18a-a796-4f70-9e56-ccee572abcaf/ [
See these Links It will help you to learn how to Consume Web Service :
How to make a simple WebService and consume it.[^]
http://a1ashiish-csharp.blogspot.com/2012/01/cnet-how-to-consume-web-service-in-cnet.html[^]
http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/5486c18a-a796-4f70-9e56-ccee572abcaf/[^]
I hope it will help you. :)
这篇关于调用网络服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文