• Ruud
  • NEWBIE
  • 0 Points
  • Member since 2010

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

Hi,

I am from BMC Software, I tried using the login code from Chatterworkbook by using API calls for Java Clients.The username and password are correct but it gives an exception

 

Exception in thread "main" [UnexpectedErrorFault [ApiFault  exceptionCode='API_DISABLED_FOR_ORG'
 exceptionMessage='API is not enabled for this Organization or Partner'

 

How can i overcome this?

Hi,

I am from BMC Software, I tried using the login code from Chatterworkbook by using API calls for Java Clients.The username and password are correct but it gives an exception

 

Exception in thread "main" [UnexpectedErrorFault [ApiFault  exceptionCode='API_DISABLED_FOR_ORG'
 exceptionMessage='API is not enabled for this Organization or Partner'

 

How can i overcome this?

Our company is currently evaluating Salesforce.com and one of the things I've been asked to investigate is how to integrate Salesforce.com into some of our internal corporate web applications. For example, from Salesforce.com we might provide a link to an internal web application. This web application may itself use the sforce.api to update information on salesforce.com.

One of the issues I'm interested in is how best to handle user authentication. What we want to be able to do is to limit the number of login prompts that our user would see. If, for example, the user logged in at Salesforce.com, we would like our application to know this fact and not prompt for an additional password. If our application calls back to the sforce api we would like to the code to run as the user who logged in to Salesforce.com.

What options are available to us to make this sort of thing happen?

Is there a way to put a session key in the URL which invokes our application in such a way that our internal application can make use of that session key when accessing the sforce api?

Any thoughts on this subject would be appreciated.

Thanks