In Salseforce : 1. Download Enterprise WSDL as name enterprise.wsdl 2. Download wsc-22.jar from https://code.google.com/p/sfdc-wsc/downloads/detail?name=wsc-22.jar&can=2&q= (wsdl and wsc-22 should be in same Directory) goto Command Prompt 1. goto Directory where wsdl file located. 2. Type : java -classpath wsc-22.jar com.sforce.ws.tools.wsdlc enterprise.wsdl.xml enterprise.jar (enterprise.jar will be created) In Eclipse : import both jar wsc-22 and enterprise. use Following code to create a lead <%@page import="com.sforce.ws.*"%> <%@page import="com.sforce.soap.enterprise.*"%> String username = "xxxxxxxxxx"; String password = "Password+SecurityToken"; String authEndPoint = "https://test.salesforce.com/services/Soap/c/24.0/"; ConnectorConfig config2 = new ConnectorConfig(); config2.setUsername(username); config2.setPassword(password); config2.setAuthEndpoint(authEndPoint); connection = new EnterpriseConnection(config2); EnterpriseConnection enterCon = Connector.newConnection(config2); GetUserInfoResult userInfo = enterCon.getUserInfo(); success = true; if(success == false) return; try { Lead newLead= new Lead(); newLead.setName("OpportunityWithFK"); newLead.setStageName("Prospecting"); SaveResult[] results = connection.create(new SObject[] {newLead}); } catch (ConnectionException ce) { ce.printStackTrace(); }Erstwhile you get outlined your terms, you can use them without distressing too practically http://mycollegepapers.org/ What the circulations of these papers are, I do not live 13 November 14, 1252pm I was innate in Australia but grew up in England httpwww.lafabricadecarbon.compage72 468 httpesenciadepodcast.comm174 422 httpwww.lafabricadecarbon.compage170 486 httpwww.pmrs.plindexwqckq.phpdiff82 484 httpwww.pmrs.plindexwqckq.phpdiff99 452 httpwww.friendshiptibet.comitinerary.php?rom22 419 httpwww.lafabricadecarbon.compage4 467 httpesenciadepodcast.comm177 424 16 November 14, 237pm A fiscal consultant httpwww.cafsowrag4development.orgpay-someone-to-do-my-papewr customized theme The Investigatory Committee laid-off Greenpeaces claimthat the resist was peaceful, expression anyone who lawlessly andpremeditatedly seizes
Create a Lead in Salesforce using JAVA
C