Call SOAP webservice(Made in .NET) through Javascript

你说的曾经没有我的故事 提交于 2019-12-25 08:34:01

问题


I am developing one mobile web application.

In this, i want to call a Web Service and fetch data from their using Java Script only.

I searched a lot and try to implement some code also but it didn't help me out.

One thing is that the Web Service was made in .NET using SOAP.

So, please help me to solve it immediately.


回答1:


One easy would be to create an ASP.NET Web API Http service wrapper around your current webservice and use jQuery to access it. This will be much simpler than using JS to access a SOAP service.

More on ASP.NET Web API: http://www.asp.net/web-api



来源:https://stackoverflow.com/questions/14646031/call-soap-webservicemade-in-net-through-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!