datadudes / salesforce2hadoop

Import Salesforce data into Hadoop HDFS in Avro format
23 stars 13 forks source link

Facing Parsing issue while using the connector #15

Open kapil9186 opened 7 years ago

kapil9186 commented 7 years ago

Hi,

I am facing below error when trying to run the java -jar salesforce2hadoop-assembly-1.2.jar init command ,providing all the parameters.

I validated the wsdl file and can see the element are present there.

Thanks

Exception in thread "main" com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale' at com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:417) at com.sforce.ws.bind.TypeMapper.verifyElement(TypeMapper.java:446) at com.sforce.soap.partner.GetUserInfoResult.loadFields(GetUserInfoResult.java:582) at com.sforce.soap.partner.GetUserInfoResult.load(GetUserInfoResult.java:559) at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664) at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537) at com.sforce.soap.partner.LoginResult.loadFields(LoginResult.java:236) at com.sforce.soap.partner.LoginResult.load(LoginResult.java:204) at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664) at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537) at com.sforce.soap.partner.LoginResponse_element.loadFields(LoginResponse_element.java:64) at com.sforce.soap.partner.LoginResponse_element.load(LoginResponse_element.java:56) at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664) at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537) at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:174) at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:148) at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99) at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:1349) at com.sforce.soap.partner.PartnerConnection.(PartnerConnection.java:405) at com.sforce.soap.partner.Connector.newConnection(Connector.java:27) at co.datadudes.sf2hadoop.SalesforceService$.apply(SalesforceService.scala:54) at co.datadudes.sf2hadoop.SFImportCLIRunner$.handleCommand(SFImportCLIRunner.scala:49) at co.datadudes.sf2hadoop.SFImportCLIRunner$.delayedEndpoint$co$datadudes$sf2hadoop$SFImportCLIRunner$1(SFImportCLIRunner.scala:39) at co.datadudes.sf2hadoop.SFImportCLIRunner$delayedInit$body.apply(SFImportCLIRunner.scala:10) at scala.Function0$class.apply$mcV$sp(Function0.scala:40) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.collection.immutable.List.foreach(List.scala:381) at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35) at scala.App$class.main(App.scala:76) at co.datadudes.sf2hadoop.SFImportCLIRunner$.main(SFImportCLIRunner.scala:10) at co.datadudes.sf2hadoop.SFImportCLIRunner.main(SFImportCLIRunner.scala)