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

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

问题描述

我必须在我的网站中使用此Web服务才能使用此Web服务.
Web服务URL是"http://wsdev.ccratravel.com/ws/HotelWebService.asmx?WSDL"

凭据是

I have to use this web service in my website hwo to consume this web service.
web service URL is " http://wsdev.ccratravel.com/ws/HotelWebService.asmx?WSDL "

credentials are

UserName:  [edit] credentials removed [/edit]
Password:  [edit] credentials removed [/edit]
CompanyId: [edit] credentials removed [/edit]



感谢



thanks

推荐答案



您确定在网站上提供凭据是个好主意吗?

无论如何,请看以下示例:

从Win Forms应用程序中使用Web服务 [在VB.NET中使用Web服务 [具有ASP.NET的Web服务 [
Hi,

Are you sure giving the credentials on a website is a good idea?

Anyway, take a look at this examples:

Consuming Web Services from a Win Forms Application[^]

Using a Web Service in VB.NET[^]

Web services with ASP.NET[^]

Hope it helps.


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

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