Java - salesforce.com Integration - Part -1
In first part of Java-Salesforce integration,
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 ?
- Authentication
- Fire Salesforce Query for fetch document
- Play with result object
What is implementation ?
- 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 :
Force.com Web Service Connector (WSC) :
SOAP API :
SOAP API Developer's Guide :
Comments