You need to sign in to do that
Don't have an account?
daniel reisel
retreving from Salseforce java
hi!
for a week now i am trying to connect to my Salseforce account just to retrive my data into my java aplaction and i cant seem to get it to work.
i read all over the internet and followoed every example i could find and nothing helped.
what i did so far is:
opened a developer account.
created an app with Oath2 authentication. (i do not have a callback server so i didn't know what to use).
what I'm trying to do is this:
connect to Salseforce.
retrieve all my leads created between 2 specific dates
I'm not even sure what will be the best API for that manner...
I would really appreciate some assistance.
thank you!
Daniel
for a week now i am trying to connect to my Salseforce account just to retrive my data into my java aplaction and i cant seem to get it to work.
i read all over the internet and followoed every example i could find and nothing helped.
what i did so far is:
opened a developer account.
created an app with Oath2 authentication. (i do not have a callback server so i didn't know what to use).
what I'm trying to do is this:
connect to Salseforce.
retrieve all my leads created between 2 specific dates
I'm not even sure what will be the best API for that manner...
I would really appreciate some assistance.
thank you!
Daniel
Did you try the below link, it should be helpful
http://www.forcetree.com/2011/12/java-to-salesforcecom-integration-using.html
Please let me know if this helps
Best Regards
Naga Kiran
If you want to connect to only your salesforce org use enterprise connection.
If you want to connect to any salesforce org you can use partner connection.
Below is the sample code in java which retrieves Lead info from Salesforce using PartnerConnection.
Use Partner.jar ,enterprise.jar and wsc.jar while using above code in java.
**Mark it as solved if it solves your question.
Thanks,
Naveen
http://www.autorabit.com