Java - salesforce.com Integration - Part -1


In first part of Java-Salesforce integration,

First challenge is to access the documents list from salesforce application.

Salesforce is best cloud base Customer relationship management (CRM) Software and you should check www.salesforce.com for depth learn it.

Here, For the backend implementation, I have used JAVA and to connected to salesforce and there is  option to use the Web Services Connector (WSC).

Web Services Connector (WSC) is a code-generation tool and runtime library for use with Force.com Web services. WSC uses a high-performing Web services client stack implemented with a streaming parser. It is the preferred tool for working with salesforce.com APIs.

I have used SOAP API of salesforce for work on my challenge.
The Force.com SOAP API lets you create, retrieve, update, or delete document etc, including query, search and marge call.

You can download support library for salesforce SOAP API from http://code.google.com/p/sfdc-wsc/
Currently, salesforce provides two way to use wsdl  
 1) Enterprise(unique to your organization) 
 2) Partner (genenic)



I used the second option "Partner wsdl" files for get it work.

How it is work ?
  1. Authentication
  2. Fire Salesforce Query for fetch document
  3. Play with result object 
What is implementation ?
  1. Authentication

    2. Fire Salesforce Query for fetch documents list


  3. Play with result object : 

As you see, Implementation source code is very simple, easy  and self explanatory.

Even if you have any doubt or feedback about more simplicity and optimize solution of implementation, you have then give your feedback.

Reference Info : 



Comments

Popular posts from this blog

Simple way producer–consumer problem's implementation in NodeJs

Step by step guide on how to pay Income Tax that is due

Cassandra Materialized view vs Index