Does anybody know javascript function to call WebService
I have a webservice written in .NET2.0 and I want to call the webservice by JAvascript function
and store the data got from the function on local comp by opening save dialog box in javascript itself

Do anybody have any idea?

Recommended Answers

All 2 Replies

use ajax.
dont call web services directly using client side scripting, instead call a web page which in turn calls webservices and return the result.
return result could be in xml format, which is standard. any way that depends on you requirement

You can use Wrapper class to call Web service. Contact: <EMAIL SNIPPED>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.