我可以用JavaScript调用WCF服务或Web服务吗 [英] Can i call a wcf service or web service in Javascript
本文介绍了我可以用JavaScript调用WCF服务或Web服务吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用javascript调用Web服务(用C#编写),有可能吗?
感谢
i want to call a web service (written in C#) in javascript, is it possible?
Thanks
推荐答案
请参见从JavaScript调用Web服务-使用SOAP客户端 [^ ].
您还可以阅读使用JavaScript轻松使用SOAP Web服务| [^ ].
See Calling Web Services From JavaScript - Using SOAP Client[^].
You can also read Easily consume SOAP Web services with JavaScript |[^].
您可以轻松地在Google上对其进行搜索...这是示例之一:
http://dotnetbyexample.blogspot.com/2008/02/calling-wcf- service-from-javascript.html [ ^ ]
You could have googled it easily...here it is one of the examples:
http://dotnetbyexample.blogspot.com/2008/02/calling-wcf-service-from-javascript.html[^]
这篇关于我可以用JavaScript调用WCF服务或Web服务吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文