function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cyiamcyiam 

Basic question

Is it possible to write a java code that is hosted on my company's server and send leads data to salesforce via http/s?

SuperfellSuperfell

Yes, you can use the Web Services API from java to create leads. see http://www.salesforce.com/us/developer/docs/api/index.htm

incuGuSincuGuS

Be sure to check the Documentation and Code Examples :

http://wiki.developerforce.com/index.php/Documentation

 

They will surely help you get starterd very quick, search for code samples.

http://wiki.developerforce.com/index.php/Web_Services_API#Java

 

And here a code sample

http://wiki.developerforce.com/index.php/Java_Partner_WSDL_Samples_10.0

 

 

Hope this helps you.

Gaston.