如何在aspx页面中使用Web服务? [英] How to use web service in aspx page?

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

问题描述

很多挣扎之后的朋友我成功写了一个网络服务...但我不知道如何在我的aspx页面中使用该网页服务所以请任何人解释一下吗?

thnqq ....

解决方案

对于asmx,请尝试

[ ^ ]

使用C#和VB在ASP.Net Web应用程序中调用(消费)Web服务(ASMX) .Net [ ^ ]

您第一个C#Web服务 [ ^ ]



对于WCF服务,这里有一个例子 -

创建和使用您的第一个WCF服务 [ ^ ]


friends after a lot of struggle i wrote a web service successfully...but i don't know how to use that the web service in my aspx page so please can anyone explain it?
thnqq....

解决方案

For asmx, try
Calling Web Service using ASP.NET[^]
Call (Consume) Web Service (ASMX) in ASP.Net web application using C# and VB.Net[^]
Your first C# Web Service[^]

For a WCF service here is an example -
Creating and Consuming Your First WCF Service[^]


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

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