+ Start a Discussion
Shri RajShri Raj 

Upload CSV into Salesforce using JAVA.

Hello All,

I know we can upload a CSV into Salesforce using various different ways. I'm conducting a POC in my company to upload a CSV file into Salesforce using a JAVA program. Can someone please guide or provide any reference links? 

Thanks, 
Shri

Best Answer chosen by Shri Raj
Tony TannousTony Tannous

Hello Shri,

toupload a csv file or to into a record in salesforce from any application you can use the Web Services call.

You need to do the below :

1- connect to salesforce application  setup-->Develop --> API.
2- Click on Generate Enterprise WSDL/Generate Partner WSDL so you can download them.
3- you need to include the wsdl into your application.
4- Simply call the method login to connect  to salesforce + you can call the attachement method/ insert.

Good Luck