• Ashi
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 4
    Replies

Hi,

 

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.

 

Thanks

 

  • January 24, 2012
  • Like
  • 0

Hi,

 

Can I invoke an apex class from my HTML page in an external application. If yes, then please tell me how can we do that.

 

Thanks

 

 

  • January 20, 2012
  • Like
  • 0

Hi,

 

I have a developer edition account with Salesforce. How can I create a test data at Salesforce.

 

Thanks

  • January 13, 2012
  • Like
  • 0

Hi,

 

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:

$.ajax({
   type:"POST",
     url: loginUrl+'services/oauth2/token?'
                 +'&grant_type=password&client_id='+escape(clientId)
                 +'&client_secret='+escape(clientSecret)
                 +'&username=user&password=mypwd',                
     success: function(){
        alert("Hello");
      }
   });

Can someone help me with a code samlpe for this.

 

Thanks.

  • December 29, 2011
  • Like
  • 0

Hi,

 

Can someone explain me about the two primary endpoints used with OAuth 2.0:

Authorization—https://login.salesforce.com/services/oauth2/authorize

Token—https://login.salesforce.com/services/oauth2/token

 

What is the difference between them

What is the significance of each one

How to choose either of them

 

Thanks

 

 

  • December 29, 2011
  • Like
  • 0

 I want to Invoke OAuth service via REST API with JQuery $.ajax object for a mobile app. Can someone help me on this.

 

Thanks

 

 

 
 
 
 

 

  • December 29, 2011
  • Like
  • 0

Hello,

 

I want to invoke OAuth service via Force.com REST API using JQuery ajax calls. I found something at: https://github.com/developerforce/Force.com-JavaScript-REST-Toolkit and follwed the code snippet mentioned below "Using the Toolkit in an HTML page outside the Force.com platform".

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.

 

Thanks,

Ashima

  • December 21, 2011
  • Like
  • 0

Hi,

 

Can I invoke an apex class from my HTML page in an external application. If yes, then please tell me how can we do that.

 

Thanks

 

 

  • January 20, 2012
  • Like
  • 0
How could I connect to salesforce in javascritp but without using page login.salesforce.com.? My purpose is then to create a query to the "Lead" entity and incorporated it as a gadget in a business mashup platform test Since I have the customer key and secret key of SalesForceDeveloper. Thanks.