I want to create an apex class as web service and want to consume it in an external html page.
Few references say that prerequisite is to generate wsdl and include it in my project.
How shall I include wsdl and call webservice from my html page.
I found about the OAuth.2.0 Username-Password Flow at : https://login.salesforce.com/help/doc/en/remoteaccess_oauth_username_password_flow.htm .
I want to implement this for a mobile application using JQuery ajax call. I tried below, but it does not work for me:
Can someone help me with a code samlpe for this.
Can someone explain me about the two primary endpoints used with OAuth 2.0:
What is the difference between them
What is the significance of each one
How to choose either of them
I have included the forcetk.js in my application and refer to it. But the error which I get is : Could not recognize variable forcetk.
Can someone help me in this regards.