com.sforce.ws.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-wsc Show documentation
Show all versions of force-wsc Show documentation
Force.com Web Service Connector
The newest version!
Provides an implementation of the Partner and Enterprise WSDL API client.
Partner example:
PartnerConnection connection = Connector.newConnection(username, password);
SObject account = new SObject();
account.setType("Account");
account.setField("Name", "My Account");
account.setField("Phone", "123 244 3455");
connection.create(new SObject[]{account});
Enterprise example:
EnterpriseConnection connection = Connector.newConnection(username, password);
Account account = new Account();
account.setName("My Account");
account.setPhone("123 244 3455");
connection.create(new SObject[]{account});
Package Specification
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see: