Package com.sforce.ws

Provides an implementation of the Partner and Enterprise WSDL API client.

See:
          Description

Interface Summary
MessageHandler MessageHandler
MessageHandlerWithHeaders MessageHandlerWithHeaders
SessionRenewer  
 

Class Summary
ConnectorConfig This class contains a set of configuration properties
 

Exception Summary
ConnectionException ConnectionException is the root of all web service client exceptions
SoapFaultException Base class for all exceptions that are related to soap fault messages
 

Package com.sforce.ws Description

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:



Copyright © 2012. All Rights Reserved.