You need to sign in to do that
Don't have an account?
asadim
How to call Apex Web Services from JavaScript?
Hi,
We have a web service written in Apex that I'd like to access from a JavaScript-based page that is hosted on some server (i.e. not a visualforce page). Any ideas on how I can do that?
Thanks.
Can this be done using the AJAX Toolkit? Or is the Toolkit only for s-controls and VF pages?
Thanks.
if you are try to calling outside of Salesforce ,
I think you can use toolkit also
you need to hit login call first and set SessioonHeader,
and then call your webservice by following way
Thanks,
Bala